Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

java heap space error

19 views
Skip to first unread message

Dave Brackett

unread,
Sep 1, 2008, 2:45:03 AM9/1/08
to
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

unread,
Sep 2, 2008, 12:47:02 PM9/2/08
to
"Dave Brackett" <davebr...@hotmail.com> wrote in message
<g9g31f$g6j$1...@fred.mathworks.com>...


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

Dave Brackett

unread,
Sep 3, 2008, 11:32:01 AM9/3/08
to
"Sachin " <skb...@ngi.msstate.edu> wrote in message
<g9jqm6$brh$1...@fred.mathworks.com>...

Thanks I have changed that now, so hopefully won't get the
same error again. cheers.

0 new messages