Matlab crash; Java HotSpot(TM) 64-Bit Server VM warning

Asked by Razvan on 25 Jun 2011
Latest activity Answered by Arthur Goldsipe on 13 Jul 2011

Hi,

I run some simulations in Matlab and sometimes the Matlab crashes and creates some files java.log.(some number). These files contain the following message on a few lines:

Java HotSpot™ 64-Bit Server VM warning: Attempt to allocate stack guard pages failed.

Does anyone know what is the cause of this? This happens at random times, so the same matlab simulation sometimes finishes without any problem, and sometimes crashes. In the command window it shows something like this:

??? Error using ==> sbioloadproject>createMATFile at 182 Error opening project file "/net/nikkafs/fs2/rchereji/Matlab/Projects/Simbiology_Reduced_Param/Rescaled/WT/Wild_Type_Reduced_V2_V10_V12_t2.sbproj".

Error in ==> sbioloadproject at 83 tempfilename = createMATFile(projfilename, 'simbiodata\d*.mat');

Error in ==> computeResiduals_oneDataSet_WT at 9 sbioloadproject(model);

Error in ==> OptimizeAllParameters_Reduced_WT_V2_V10_V12_oneDataSet>@(pEstimates)computeResiduals_oneDataSet_WT(pEstimates,model,oscPeriod) at 70 'objective', @(pEstimates) computeResiduals_oneDataSet_WT(pEstimates, model, oscPeriod), ...

Error in ==> /net/nikkafs/fs3/software/matlab/R2011a/toolbox/globaloptim/globaloptim/private/globalsearchnlp.p>i_calcPenalty at 637

Error in ==> /net/nikkafs/fs3/software/matlab/R2011a/toolbox/globaloptim/globaloptim/private/globalsearchnlp.p>globalsearchnlp at 448

Error in ==> GlobalSearch>GlobalSearch.run at 327 [x,fval,exitflag,output,solutionSet] = ...

Error in ==> OptimizeAllParameters_Reduced_WT_V2_V10_V12_oneDataSet at 79 [xming, fming, flagg, outptg, manyminsg] = run(gs, problem);

Any help would be appreciated.

Best,

Razvan

0 Comments

Razvan

Products

No products are associated with this question.

2 Answers

Answer by Arthur Goldsipe on 13 Jul 2011
Accepted answer

Per Walter's suggestion, you can try increasing the Java heap via a MATLAB preference.

If that doesn't help the problem, you may want to contact Technical Support.

0 Comments

Arthur Goldsipe
Answer by Walter Roberson on 25 Jun 2011

Increasing the java stack size might help, maybe.

1 Comment

Razvan on 25 Jun 2011

And how can I do that?

Walter Roberson

Contact us