>Adam Gifford wrote:
>
>> Jean-Luc Rochat wrote:
>>
>> >
>> > What is the memory really available on your system  (RAM+swap) ?
>> >
>> > Jean-Luc
>>
>> the machine has 2gb physical ram + 500mb swap.  it usually has from 300 megs
>> to 150 megs of free ram, and most of the swap is usually free.
>>
>
>sounds enough for a 100MB heap size !
>What is the JVM running ? JRE or java program ?
>do you have options available for stack size ?
>I usually start JServ like this (JDK1.1.6 Solaris)
>java -noclassgc-noasyncgc  -ms64m -mx128m  ...
>
>Well, you maybe need a java profiler ... because your servlet maybe keeps
>references on objects that prevent gc from running.
>
>Hope this helps
>
>

I just ran into a similar problem last week and learned that I needed to
increase the user limits for stack. If you are on Solaris, you can check
your limits with the 'ulimit -a' command. Then to increase your stack
and/or data space to something much higher with the command 'ulimit -s
<more stack>'. This is also how you increase your file descriptors so that
you can handle thousands rather than just dozens of connections. You may
need to call ulimit as root and the su back to your user account.
Alternatively, you can set up these higher limits system-wide in
/etc/system.



Bernie Bernstein
Talk City Inc.
voice: 408-871-5320                   Join the Conversation.
email: [EMAIL PROTECTED]      http://www.talkcity.com/




----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to