publish - figure reuse - java heap - maximum settings - error
1 view (last 30 days)
Show older comments
Question: Anyone know what sets the maximum heap space in the Matlab desktop GUI interactive slider to set java heap space?
Question: Anyone know any rules for accumulation of heap space requirements, eg per snap of figure published, or such?
Using publish (html), figure reuse, maximum java heap space set, still have java heap space error. Standard matlab, no mex, no explicit java.
for - loop
for - loop
for - loop
figure(1);
plot...
figure(2);
plot...
end
end
end
So, after the first time through, no new figures are created. Have used the Matlab - desktop gui to set maximum java heap space. Runs a long time, then gives the java heap space error.
Have set the slider for heap space to maximum allowed, (by the end of the slider) about 6GBytes.
Will try publish to other formats. Otherwise, next steps are to divide the script up & enumerate all the loops separately: YUK!
Or, maybe start wondering about memory leaks or lingering java objects?
So, questions as at the top, or comments accepted.
Thanks, in advance.
0 Comments
Answers (1)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!