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
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.