Re: Increase Heapsize

2006-07-19 Thread Suresh babu
Hi, Setting heap size to -Xms256 -Xmx1024 will allocate mammory intially to 256 MB and keeps expanding as allocating more objects up to 1024. My recomendation to you is as mentioned in previos mail set heap size to -Xms1536 -Xmx1536 and verify it. But Do not increase heap size blindly to great

Re: Increase Heapsize

2006-07-19 Thread Ibrahim . Siddiqui
what wouldve happened if you left your heapsize: -Xms256 -Xmx1024 ? ** This communication (including any attachments) may contain privileged or confidential information intended for a specific individual and purpose, and

Re: Increase Heapsize

2006-07-19 Thread Brian Munroe
On 7/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: No Vignette why? are you in a similar situation? if so how did you go about increasing heapsize and what appserver are you using Well, luckily our system isn't heavily loaded, we bumped it to -Xms1024 -Xmx1024 and everything is working sm

Re: Increase Heapsize

2006-07-19 Thread Ibrahim . Siddiqui
;Tomcat Users List" cc: Subject:Re: Increase Heapsize On 7/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I understand. > The webapp is a content management site which has been producing out of memory errors. > The server has 16GB RAM which is qu

Re: Increase Heapsize

2006-07-19 Thread Christopher Schultz
Ibrahim, > The webapp is a content management site which has been producing out of > memory errors. Is this your own code, or are you using something off-the-shelf? If this is someone else's product, you may wish to contact them. > The server has 16GB RAM which is quite significant. > Curious:ar

RE: Increase Heapsize

2006-07-19 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > OS: Solaris OK. > 64 bit OK. > 16 GB ram Your server only *has* 16 Gbytes of RAM. If it also has 16 Gbytes of *free* RAM, which is what I asked, then you have an unusually slim version of Solaris ;-). Anyway, given that lot you're tinker

RE: Increase Heapsize

2006-07-19 Thread Ibrahim . Siddiqui
OS: Solaris 64 bit 16 GB ram ** This communication (including any attachments) may contain privileged or confidential information intended for a specific individual and purpose, and is protected by law. If you are not the

RE: Increase Heapsize

2006-07-19 Thread Peter Crowther
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > The server has 16GB RAM which is quite significant. - What OS is it running? And is that 32- or 64-bit? Apologies if you've already told us. - Are you running a 64-bit JVM to gain access to all that lovely space? - How much *free* RAM doe

Re: Increase Heapsize

2006-07-19 Thread Brian Munroe
On 7/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I understand. The webapp is a content management site which has been producing out of memory errors. The server has 16GB RAM which is quite significant. Not trying to hijack the thread here, but would this content management product be

Re: Increase Heapsize

2006-07-19 Thread Ibrahim . Siddiqui
              Subject:        Re: Increase Heapsize Ibrahim, >  The current values on our system are: > -Xms512   -Xmx1024 > > so if I wished to increase the heapsize, can you give an example what > the new figures would be? You really need to do more research on your own: -Xms = s

Re: Increase Heapsize

2006-07-19 Thread Christopher Schultz
Ibrahim, > The current values on our system are: > -Xms512 -Xmx1024 > > so if I wished to increase the heapsize, can you give an example what > the new figures would be? You really need to do more research on your own: -Xms = set initial Java heap size -Xmx = set maximum Java heap size If y

Re: Increase Heapsize

2006-07-19 Thread Ibrahim . Siddiqui
Users List"                 To:        Tomcat Users List         cc:                 Subject:        Re: Increase Heapsize Ibrahim, > How do you increase heapsize if the suggestion is to keep the Xms and Xmx > values the same? When he says "the same", he means "the same as ea

Re: Increase Heapsize

2006-07-19 Thread Christopher Schultz
Ibrahim, > How do you increase heapsize if the suggestion is to keep the Xms and Xmx > values the same? When he says "the same", he means "the same as each other", not "the same as they were before". So, use Xms=Xmx: -Xms512 -Xmx512 or -Xms1024 -Xmx1

Re: Increase Heapsize

2006-07-19 Thread Ibrahim . Siddiqui
How do you increase heapsize if the suggestion is to keep the Xms and Xmx values the same? "Suresh babu" <[EMAIL PROTECTED]> 07/19/2006 12:21 AM Please respond to "Tomcat Users List" To: "Tomcat Users List" cc: Subject:

Re: Increase Heapsize

2006-07-19 Thread Suresh babu
To: Tomcat Users List < users@tomcat.apache.org> > cc: > Subject:Re: Increase Heapsize > > > > Ibrahim, >> You can always call Runtime.getRuntime().totalMemory() to find out the >> amount of heap space that has been allocated to th

Re: Increase Heapsize

2006-07-18 Thread Suresh babu
e wise, how if tomcat behaving with each event/interaction/page delivery? Thanks, Ibrahim *Christopher Schultz <[EMAIL PROTECTED]>* 07/18/2006 09:00 AM Please respond to "Tomcat Users List" To:Tomcat Users List cc: Subject: Re: Inc

Re: Increase Heapsize

2006-07-18 Thread Ibrahim . Siddiqui
TED]> 07/18/2006 09:00 AM Please respond to "Tomcat Users List"                 To:        Tomcat Users List         cc:                 Subject:        Re: Increase Heapsize Ibrahim, >> You can always call Runtime.getRuntime().totalMemory() to find out the >> amount

Re: Increase Heapsize

2006-07-18 Thread Christopher Schultz
Ibrahim, >> -verbosegc -XX:+PrintGCDetails > > I'm getting a 'not found'. > does this command need to be installed? > I'm using ksh This is not a command to be run on the command line. It's an option to the JVM (see previous posts about where to put these). -chris signature.asc Descrip

Re: Increase Heapsize

2006-07-18 Thread Christopher Schultz
Ibrahim, >> You can always call Runtime.getRuntime().totalMemory() to find out the >> amount of heap space that has been allocated to the JVM. > > Where would this code be written? > And how would I execute it? Just toss a JSP file somewhere with that code in it to allow you to check up on the

Re: Increase Heapsize

2006-07-18 Thread Christopher Schultz
Ibrahim, > Thanks for your input. The application in question is a content > management one which is developed using Vignette. The Vignette support > team suggested the increase in heapsize as a first measure. We are > analyzing the code itself for leaks. It may be that on jsp pages we are > not

Re: Increase Heapsize

2006-07-18 Thread Ibrahim . Siddiqui
sers List" cc: Subject:Re: Increase Heapsize -verbosegc -XX:+PrintGCDetails On 7/18/06, Suresh babu <[EMAIL PROTECTED]> wrote: > > Hi, > > Using -verbose:gc will also help in finding out the heap size > > > On 7/18/06, Christopher Schultz <

Re: Increase Heapsize

2006-07-18 Thread Ibrahim . Siddiqui
Suresh, Where would I run this command? And is there something else besides -verbose:gc thanks, Ibrahim "Suresh babu" <[EMAIL PROTECTED]> 07/17/2006 11:39 PM Please respond to "Tomcat Users List" To: "Tomcat Users List" cc:

Re: Increase Heapsize

2006-07-18 Thread Ibrahim . Siddiqui
bject:        Re: Increase Heapsize Ibrahim, > I've increased the heapsize in my development enviroment. > And I don't knowhow to confirm the change has been made to the effect the > whole system is affected. > So I'd like to know how to go about confirming this, possibly thru

Re: Increase Heapsize

2006-07-18 Thread Ibrahim . Siddiqui
Users List"                 To:        Tomcat Users List         cc:                 Subject:        Re: Increase Heapsize Barry and Ibrahim, > I thought maybe it was done in the startup.bat file by changing the > properties and the initial environment space (defaulted usually to > Auto to 4096).

Re: Increase Heapsize

2006-07-17 Thread Suresh babu
-verbosegc -XX:+PrintGCDetails On 7/18/06, Suresh babu <[EMAIL PROTECTED]> wrote: Hi, Using -verbose:gc will also help in finding out the heap size On 7/18/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: > > Ibrahim, > > > I've increased the heapsize in my development enviroment. > > An

Re: Increase Heapsize

2006-07-17 Thread Suresh babu
Hi, Using -verbose:gc will also help in finding out the heap size On 7/18/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: Ibrahim, > I've increased the heapsize in my development enviroment. > And I don't knowhow to confirm the change has been made to the effect the > whole system is affe

Re: Increase Heapsize

2006-07-17 Thread Christopher Schultz
Ibrahim, > I've increased the heapsize in my development enviroment. > And I don't knowhow to confirm the change has been made to the effect the > whole system is affected. > So I'd like to know how to go about confirming this, possibly thru some > monitoring measure. You can always call Runtim

Re: Increase Heapsize

2006-07-17 Thread Christopher Schultz
Barry and Ibrahim, > I thought maybe it was done in the startup.bat file by changing the > properties and the initial environment space (defaulted usually to > Auto to 4096). Is this not correct? You might try right-clicking > startup.bat, and under the Memory tab try changing the expanded > memo

RE: Increase Heapsize

2006-07-17 Thread Ibrahim . Siddiqui
I'd like to be certain that a simply edit of one line from one file and restart of tomcat would do the job. "Propes, Barry L" <[EMAIL PROTECTED]> 07/17/2006 03:37 PM Please respond to "Tomcat Users List" To: "Tomcat Users List"

RE: Increase Heapsize

2006-07-17 Thread Propes, Barry L
mcat Users List Subject: RE: Increase Heapsize I thought startup.bat was used for other versions of tomcat? no? in my case tomcat is on a solaris box and not windows. so isnt startup.bat used on windows? "Propes, Barry L" <[EMAIL PROTECTED]> 07/17/2006 02:55 PM Please res

RE: Increase Heapsize

2006-07-17 Thread Ibrahim . Siddiqui
To: "Tomcat Users List" cc: Subject:RE: Increase Heapsize I thought maybe it was done in the startup.bat file by changing the properties and the initial environment space (defaulted usually to Auto ot 4096). Is this not correct? You might try right-clicki

RE: Increase Heapsize

2006-07-17 Thread Propes, Barry L
values if they're defaulted to a certain value? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 4:49 PM To: users@tomcat.apache.org Subject: Re: Increase Heapsize Hello. I am using Tomcat 4.0.6 on the server. I need to increase the hea

Re: Increase Heapsize

2006-07-17 Thread Ibrahim . Siddiqui
Hello. I am using Tomcat 4.0.6 on the server. I need to increase the heapsize. Questions: I've been receiving java OutOfMemory errors several times when a user attempts to upload files. Is this enough to increase the heapsize as a 1st step? Also how to go about doing it? Do I simply increase the v

Re: Increase heapsize with Tomcat 4.0.6

2006-07-11 Thread Ibrahim . Siddiqui
I am currently using Tomcat 4.0.6 with Vignette storyserver and IHS 1.3.26. I need to increase the heapsize. What is the correct method for this? Do I simply edit the catalina.sh file located at: /opt/vignette/tomcat-mcm/bin and increase the number next to Xmx? Or do I use a command to make it pe