RE: java.lang.OutOfMemroyError

2001-11-15 Thread Veda Narayanan
More than which distribution of RH, its kernel which matters. If you are using any 2.4.x kernel there seems some problem in native thread stack size. The ulimit setting will set it to required stack size limit. If you run long living thread and recursive fn, you can see the effect of these params.

RE: java.lang.OutOfMemroyError

2001-11-15 Thread Man Chi Ly
On Thu, 15 Nov 2001, Veda Narayanan wrote: > Try these environment variable either in the script you start your app or in > java script > > ulimit -s 2048 > export LD_ASSUME_KERNEL=2.2.5 > export _JAVA_SR_SIGNUM=12 > > These are the thread parameters which will set your env for the

RE: java.lang.OutOfMemroyError

2001-11-15 Thread Veda Narayanan
Try these environment variable either in the script you start your app or in java script ulimit -s 2048 export LD_ASSUME_KERNEL=2.2.5 export _JAVA_SR_SIGNUM=12 These are the thread parameters which will set your env for the latest thread related kernel changes in linux kernel. These

Re: java.lang.OutOfMemroyError

2001-11-15 Thread Alexander V. Konstantinou
Sounds like you have a memory leak in your program. Yes, it is possible to have memory leaks even in Java programs. All you have to do is to add objects to a collection type (map, set, list, etc) and then forget to remove them, or null all references to the collection. There are several software

java.lang.OutOfMemroyError

2001-11-15 Thread kulkarni sourabh
Hi All, My application runs on celeron processor with 128MB RAM. OS- Redhat 6.2. I use Sun JDK1.3 currently. My application has around 5-6 threads running...but one of the thread stops after around 2-2.5 hrs of running. The message is java.lang.OutOfMemoryError: Unable to create new native thre