From: Stephan on
Hi,

I use DatabaseLink to access mySQL Databases and very large binary objects seem to blow up the java virtual machine, resulting in an...

There are other posts about this, but they only conlude that there is an option for the Java-Runtime to extend the heap space, but that this Option is not supported on Mac OS X. Indeed, I get:

In[1]:= ?JVMArguments
JVMArguments is an option to InstallJava that allows you to specify additional command-line arguments passed to the Java virtual machine at startup. The string you specify is added to the command line used to launch Java. You can use this option to specify properties with the standard -D syntax, such as "-Dsome.property=true". This option is not supported on Mac OSX.

Did anyone figure out how to still push up the heap size on Mac OS X?

Thanks a lot,

Stephan

From: János Löbb on
On Jun 17, 2010, at 2:05 AM, Stephan wrote:

> Hi,
>
> I use DatabaseLink to access mySQL Databases and very large binary objects seem to blow up the java virtual machine, resulting in an...
>
> There are other posts about this, but they only conlude that there is an option for the Java-Runtime to extend the heap space, but that this Option is not supported on Mac OS X. Indeed, I get:
>
> In[1]:== ?JVMArguments
> JVMArguments is an option to InstallJava that allows you to specify additional command-line arguments passed to the Java virtual machine at startup. The string you specify is added to the command line used to launch Java. You can use this option to specify properties with the standard -D syntax, such as "-Dsome.property==true". This option is not supported on Mac OSX.
>
> Did anyone figure out how to still push up the heap size on Mac OS X?
>
> Thanks a lot,
>
> Stephan

Hi Stephan,

I might know it wrongly, but there is a JAVA_OPTS environmental variable and it is consulted when Java starts. The syntax depending on your shell can be:

set (export) JAVA_OPTS==-Dname1==value1 -Dname2==value2 ...

With the best,

J=E1nos

From: David Reiss on
I use OSX and adjust the heap space according to the approach that I
posted here:

http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/71020dcc8ad8eabc/52b1281005ec71f6

Hope this helps....

--David

On Jun 17, 2:05 am, Stephan <stepha...(a)mac.com> wrote:
> Hi,
>
> I use DatabaseLink to access mySQL Databases and very large binary objects seem to blow up the java virtual machine, resulting in an...
>
> There are other posts about this, but they only conlude that there is an option for the Java-Runtime to extend the heap space, but that this Option is not supported on Mac OS X. Indeed, I get:
>
> In[1]:= ?JVMArguments
> JVMArguments is an option to InstallJava that allows you to specify additional command-line arguments passed to the Java virtual machine at startup. The string you specify is added to the command line used to launch Java. You can use this option to specify properties with the standard -D syntax, such as "-Dsome.property=true". This option is not supported on Mac OSX.
>
> Did anyone figure out how to still push up the heap size on Mac OS X?
>
> Thanks a lot,
>
> Stephan


From: Christopher Arthur on
it's not a -D option, it's -x or -xm, and if you can't do it from
mathematica you can probably add it to the java settings from the dock
in macos.

Chris

Stephan a =E9crit :
> Hi,
>
> I use DatabaseLink to access mySQL Databases and very large binary objects seem to blow up the java virtual machine, resulting in an...
>
> There are other posts about this, but they only conlude that there is an option for the Java-Runtime to extend the heap space, but that this Option is not supported on Mac OS X. Indeed, I get:
>
> In[1]:== ?JVMArguments
> JVMArguments is an option to InstallJava that allows you to specify additional command-line arguments passed to the Java virtual machine at startup. The string you specify is added to the command line used to launch Java. You can use this option to specify properties with the standard -D syntax, such as "-Dsome.property==true". This option is not supported on Mac OSX.
>
> Did anyone figure out how to still push up the heap size on Mac OS X?
>
> Thanks a lot,
>
> Stephan
>
>
>