Compiler and Cloud Flash Timeout

Is anyone experiencing compiler and cloud timeouts?

Over the last 24 hours VSCode and the particle workbench seem to be failing 4/5 Cloud compiles and about the same Cloud Flashes.

Compile Error

Compile failed: Compiler timed out or encountered an error
    at makeError (c:\Users\xxx\.vscode\extensions\particle.particle-vscode-core-1.16.39\node_modules\execa\lib\error.js:59:11)
    at handlePromise (c:\Users\xxx\.vscode\extensions\particle.particle-vscode-core-1.16.39\node_modules\execa\index.js:114:26)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)

Flash Error

Failed to flash 0a10aced202194944a060490: Compiler timed out or encountered an error
    at makeError (c:\Users\xxx\.vscode\extensions\particle.particle-vscode-core-1.16.39\node_modules\execa\lib\error.js:59:11)
    at handlePromise (c:\Users\xxx\.vscode\extensions\particle.particle-vscode-core-1.16.39\node_modules\execa\index.js:114:26)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)

- - - -

How long does it take to compile? The maximum is 120 seconds, and there is also a 50 MB limit for the payload. If it takes close to that long, it's actually timing out.

Thanks for the response Rick, I'll check, Whats the best way to check the payload size, should I just check the size of the .bin file?

The payload is the size of the source code sent in a cloud compile request. Roughly speaking, if you get the size of the directory containing the project.properties file, including lib, but minus target it should be approximately correct. It's rare to run into this unless you have a local copy of a library that is very large.

So all my .bin files from previous cloud compiles are in the directory with the project.properties file. Do these get factored in to the 50MB limit?

The .bin files should not be uploaded. There are some other exceptions, including files in particle.ignore. There should be a list of all of the files that were uploaded when you cloud compile and its those files that count.