Hi,
I am using Apache v1.3.9 with jserv v1.1.b3 and jdk 1.1.7 on Linux 2.2.5-15. My servlet need to build lot of more or less big objects and keep them in memory to be able to reuse them. After the second object is loaded I have an "java.lang.OutOfMemoryError:". I tested my servlet independly and I notice that the solution would be to add the "-mx300M" for instance to the java command line to allow the JVM to allocate more memory. The problem is that I dont khow how to add this option in jserv.properties. I tried the following : wrapper.bin.mx=320M and wrapper.mx=320M and wrapper.bin=/usr/local/java/bin/java -mx100M but none works.
Please I am in need (a strict deadline) and I would like you to answer me quickly if possible.
Thanks; -- Salutations, Khaled.