Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: memory tomcat

alvaro tovar

2007-07-12

Replies:

hi, thanks for your answer, i think that i have to questions in solaris, is
a solaris sparc, but, if the manager application show

Free memory: 3000 MB Total memory: 3000 MB Max memory: 3000 MB

then tomcat have 3000?, if true then i can put 3 gb in my tomcat.

thanks and sorry for my english

On 7/12/07, Christopher Schultz <chris@(protected):
>
> Alvaro,
>
> alvaro tovar wrote:
> > i am trying of configure my tomcat, but i have 2 questions. [1)] is
> > [it] possible to configure tomcat for use 3 gb?
>
> Maybe. Most 32-bit JVMs can't actually give you 3GB of heap space.
> You'll probably be limited to somewhere between 1.5 - 2.0GB. If you have
> a 64-bit processor and OS, go with a 64-bit JVM and then you can get
> /lots/ of memory.
>
> > i actually have the memory [set to] 1.5 [GB], but i don't know if
> > [there is] a limit, and the other tomcat reserve the memory
>
> I'm not entirely sure what you mean, here. Could you try to ask this
> question in a different way?
>
> > when starts or when his need this. i have this in catalina.bat:
> >
> > ...  -Xms1584m -Xmx1584m ...
>
> That ought to give you a 1.5GB fixed (no more, no less) heap.
>
> -chris
>
>
>
©2008 junlu.com - Jax Systems, LLC, U.S.A.