On Monday 13 September 2004 10:46, Sobolevsky Vladek wrote: > Hi All, > I have problem to run more then 1000 threads on Linux. > I get Out of Memory error, the program written in Java so I suspect it > related > To Java thread implementation. This limitation applies only to one > process , I can run > For example 2 processes that will use 900 threads each and it works > fine.
Hiya, I've questions: Have you tried increasing the amount of memory available to the Java VM when launching a process ? If I'm not mistaken, Java uses (by default) a maximum of 64MB of memory per instance of the JVM and will limit your application accordingly. Second, have you tried taking a look at the security manager ? Things like the amount of resources available to a Java program is under it's control. Maybe you should take a look at "Java Security" which is a very nice book about the whole topic. Eli -- Eli Kara Beyond Security Ltd. http://www.beyondsecurity.com/ http://www.securiteam.com/ The First Integrated Network and Web Application Vulnerability Scanner: http://www.beyondsecurity.com/webscan-wp.pdf ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]