• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JVM Heap Size Issue in WO Java Monitor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JVM Heap Size Issue in WO Java Monitor


  • Subject: Re: JVM Heap Size Issue in WO Java Monitor
  • From: Dave Elsner <email@hidden>
  • Date: Tue, 23 Nov 2004 16:39:38 +1100

You set memory per application instance since each instance runs in it's own JVM, I believe the default is 64MB per instance. You can this using the -Xmx parameter from the command-line or from "Additional Argument" of java monitor. e.g -Xmx256M sets the maximum JVM size, i think you can also use -Xms16M to set the minimum size? where 256 or 16 can be any values you desire

I think this is correct ?

Cheers
Dave

On 23/11/2004, at 2:53 PM, Tanmoy Roy wrote:

Hi All,
I have an application which runs on a appserver having Total Memory Allocated to the JVM = 2 MB.
I am getting java.lang.OutOfMemoryError quite a lot.

I have a argument -NSJavaMaxHeapSize <size in bytes> which when set in "Additional Argument" of java monitor is said to increase the JVM heap size by that many bytes. But my question is with my appserver having JVM heap size of 2 MB only can I increase my app-level setting to say 256MB? I have four instances of the application currently running on the appservers.
Can anyone please help me out of this?


Thanks and Regards

Tanmoy Roy
Infosys Technologies Limited - Bhubaneswar
* Ph: +91-674-2320001-50
* Extn: 2190


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >JVM Heap Size Issue in WO Java Monitor (From: "Tanmoy Roy" <email@hidden>)

  • Prev by Date: JVM Heap Size Issue in WO Java Monitor
  • Next by Date: RE: JVM Heap Size Issue in WO Java Monitor
  • Previous by thread: JVM Heap Size Issue in WO Java Monitor
  • Next by thread: RE: JVM Heap Size Issue in WO Java Monitor
  • Index(es):
    • Date
    • Thread