MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Java heap space on Mac OS X not supported?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg110436] Re: Java heap space on Mac OS X not supported?
  • From: János Löbb <janos.lobb at yale.edu>
  • Date: Fri, 18 Jun 2010 01:24:35 -0400 (EDT)

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


  • Prev by Date: Re: Java heap space on Mac OS X not supported?
  • Next by Date: Re: Java heap space on Mac OS X not supported?
  • Previous by thread: Re: Java heap space on Mac OS X not supported?
  • Next by thread: Re: Java heap space on Mac OS X not supported?