× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I am not sure I can answer but I'll try to give you a hand (Dan Kimmel is on this list and is pretty good at Java environment stuff - maybe he will weigh in). If you are still stuck, perhaps you can post what kind of Java program you are running. Most of my stuff runs from scripts (Tomcat, JRuby, etc) that are invoked in PASE so I usually hack the scripts and add the options before I start the app but if you are running something directly from the command line or wrapped in a CL there may be different options. JAVA_OPTS is the correct variable, BTW, but my guess is that you are invoking your program in a way that isn't picking up the variable....

You may want to subscribe to the Java400 list if you are still stuck. I'll cross post there in case you do.

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java

On 5/13/2014 12:19 PM, MARK GOLDEN wrote:
Hi,

I have a system where on occasion I would like to increase the maximum java heap for a 64-bit JVM.

I am using the ADDENVVAR command via a CL program which sets JAVA_OPS -Xms4000m - Xmx4000m.
This seems to be completely ignored by the system which leaves the maximum java heap at 2048m for the 64-Bit machine.
As soon as the 2048m limit is reached I receive the out of memory error.

The machine I'm working on has more than enough memory for the request.

What am i missing?

Thanks,
Mark.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.