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

java heap space error

3 views
Skip to first unread message

nando

unread,
Nov 9, 2009, 2:39:03 PM11/9/09
to
Hi all

my problem is that for retrieve a large number of rows from a mysql database, with database toolbox, I have a java heap space error: out of memory. The error is with exec function on sql execution. I have to retrieve 4, and more, milion of records.
I can not increase the java memory with file java.opts because the program will run on the pc where there isn't matlab, only runtine component.
I need a solution.

Thanks and i'm sorry for my english :D

Ed Yu

unread,
Jan 2, 2010, 6:24:03 PM1/2/10
to
nando,

You'll need to use java.opts and place it in the directory where your "compiled" MATLAB executable resides. This way you could increase java memory footprint.

Ed.

0 new messages