I am running a lengthy genetic algorithm optimisation but
after some time of running I get the following error
causing the optimisation to cease, even though Matlab still
says it is busy. Anyone got any ideas of how I can avoid
this? Thanks.
Exception in thread "TimerQueue"
java.lang.OutOfMemoryError: Java heap space
at java.awt.EventQueue.invokeLater(Unknown Source)
at javax.swing.SwingUtilities.invokeLater(Unknown
Source)
at javax.swing.Timer.post(Unknown Source)
at javax.swing.TimerQueue.postExpiredTimers(Unknown
Source)
at javax.swing.TimerQueue.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
??? Error using ==> gadsplot at 114
A read error occurred while reading from lab 3. This is
causing:
java.lang.OutOfMemoryError: Java heap space
"Dave Brackett" <davebrackett@hotmail.com> wrote in message
<g9g31f$g6j$1@fred.mathworks.com>...
> I am running a lengthy genetic algorithm optimisation but
> after some time of running I get the following error
> causing the optimisation to cease, even though Matlab still
> says it is busy. Anyone got any ideas of how I can avoid
> this? Thanks.
>
> Exception in thread "TimerQueue"
> java.lang.OutOfMemoryError: Java heap space
> at java.awt.EventQueue.invokeLater(Unknown Source)
> at javax.swing.SwingUtilities.invokeLater(Unknown
> Source)
> at javax.swing.Timer.post(Unknown Source)
> at javax.swing.TimerQueue.postExpiredTimers(Unknown
> Source)
> at javax.swing.TimerQueue.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> ??? Error using ==> gadsplot at 114
> A read error occurred while reading from lab 3. This is
> causing:
> java.lang.OutOfMemoryError: Java heap space
>
"Sachin " <skbhate@ngi.msstate.edu> wrote in message
<g9jqm6$brh$1@fred.mathworks.com>...
> "Dave Brackett" <davebrackett@hotmail.com> wrote in
message
> <g9g31f$g6j$1@fred.mathworks.com>...
> > I am running a lengthy genetic algorithm optimisation
but
> > after some time of running I get the following error
> > causing the optimisation to cease, even though Matlab
still
> > says it is busy. Anyone got any ideas of how I can avoid
> > this? Thanks.
> >
> > Exception in thread "TimerQueue"
> > java.lang.OutOfMemoryError: Java heap space
> > at java.awt.EventQueue.invokeLater(Unknown Source)
> > at javax.swing.SwingUtilities.invokeLater(Unknown
> > Source)
> > at javax.swing.Timer.post(Unknown Source)
> > at javax.swing.TimerQueue.postExpiredTimers(Unknown
> > Source)
> > at javax.swing.TimerQueue.run(Unknown Source)
> > at java.lang.Thread.run(Unknown Source)
> > ??? Error using ==> gadsplot at 114
> > A read error occurred while reading from lab 3. This is
> > causing:
> > java.lang.OutOfMemoryError: Java heap space
> >
>
>
> Dave,
>
> Look at this for increasing java heap space on your system
> for matlab..
> http://www.mathworks.com/support/solutions/data/1-
18I2C.html
>
> -Sachin
Thanks I have changed that now, so hopefully won't get the
same error again. cheers.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.