J2ee Server on test (tomcat out of memory)

Hi,

I test an application on J2ee application Server and on stress condition I got a server error:

java.lang.OutOfMemoryError

at java.lang.Thread.start(Native Method)

at org.apache.tomcat.service.TcpEndpoint.processSocket(TcpEndpoint.java:246)

at org.apache.tomcat.service.TcpEndpoint.acceptConnections(TcpEndpoint.java:256)

at org.apache.tomcat.service.TcpListenerThread.run(TcpEndpoint.java:291)

at java.lang.Thread.run(Thread.java:484)

The only variable about memory (thresold) is passivation.... from default.config file

I think the tomcat needs more memory ....

Can you tell me if is there a way to configure the server to avoid this memory ....?

[726 byte] By [silmx] at [2007-9-26 1:28:40]
# 1
I think problem with virtual memory, Can u try to increse it and check it.Gajendra
t_gajendra_naidu at 2007-6-29 1:14:46 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
You can edit the tomcat.bat file to make additional memory available to tomcat, just replace 32 with the amount of memory you want to allocate to tomcat (in the -Xmx32m flag).
tt003ee at 2007-6-29 1:14:46 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
this problem may arise if u r using a windows 95 series of OS. after starting the dos window, go to that windows properties and increase the memory allocations to maximum, dont let it be at auto. I think this should help u
allambadshah at 2007-6-29 1:14:46 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...