Input is too large to create ByteBuffer - Error when running batch job on server

3 visualizzazioni (ultimi 30 giorni)
Hi.
I have some rather large simulations to run on a server. I send the scripts as batch jobs using parallel computing and they run just fine without errors. However, when they finish I get the error message
ErrorIdentifier: parallel:task:MJSUnableToSubmitResult - ErrorMessage: Unable to return results to jobmanager. The reason is: Input is too large to create ByteBuffer.
Does anyone know what could be the problem?
Thanks in advance!

Risposta accettata

Marc Jakobi
Marc Jakobi il 30 Set 2015
Okay I found the problem.
I forgot to clear the input variables. So the job tried to return the entire workspace (including inputs and temporary variables) to the jobmanager.
The solution is:
clearvars -except var1 var2
where var1, var2, ... are the variables needed as an output.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by