Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: java heap space error
Date: Mon, 1 Sep 2008 06:45:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 21
Message-ID: <g9g31f$g6j$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1220251503 16595 172.30.248.37 (1 Sep 2008 06:45:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 1 Sep 2008 06:45:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1338633
Xref: news.mathworks.com comp.soft-sys.matlab:488066



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