[Date Index] [Thread Index] [Author Index]
Re: Java heap space on Mac OS X not supported?
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:== ?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