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

1 view (last 30 days)
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

Accepted Answer

Arthur Goldsipe
Arthur Goldsipe on 13 Jul 2011
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.

More Answers (1)

Walter Roberson
Walter Roberson on 25 Jun 2011
Increasing the java stack size might help, maybe.

Communities

More Answers in the  SimBiology Community

Categories

Find more on Extend Modeling Environment in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!