Thanx to everybody,

  Here is the solution to increase the heap size of the JVM. A document for
all such problems is available at this site.


http://support.odi.com/pse-java/doc/apiug/8_auto.htm#226282

venkat
-----Original Message-----
From: Shashank Phadke <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, April 20, 1999 11:58 PM
Subject: Re: increasing the heap size


>> By default the JVM limits the heap size to 16MB.
>>1. How can I set the upper bound of the heap size with the -mx
>>option?
>>2. How and Where I can set this option?
>> I am using sun solaris, jdk1.2, netscape server enterprise 3.5.1,
>>jrun 2.2 pro
>
>Neeraja --
>
>The -mx parameter is the one which governs the maximum heap size. In
>JRun2.2, you can update the startjsm script which starts the JVM for
>ServiceManager. Add -Dmx128m to make the heap size to 128MB. The heap
>size goes on increasing (on demand) upto the max size set.
>
>Hope this helps ..
>
>Shashank
>
>p.s.
>Looks like many users are facing into memory problems with servlets.
>I had posted similiar problem - not many replied. However there seems
>to be some problem (atleast with JRun) where servlet engine is
>hogging memory. The same JAVA code when run as simple
>application/applet takes much lesser memory. Any similiar
>experiences / suggestions ??
>
>_s_
>
>_______________________________________________________________
>Get Free Email and Do More On The Web. Visit http://www.msn.com
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to