I am using JVM version 1.4.1 (java.vm.version=1.4.1-1) to run my
program on UNIX. When I run my program using the default JVM settings,
I don't get exceptions but my program crashes after 30 minutes without
throwing any exception. I thought, tuning of JVM would be a solution,
so I ran my program using -Xms128m -Xmx128m and now it gives me an
OutOfMemory error within 2 minutes. -
Unknown error:
java.lang.OutOfMemoryError
at java.io.ByteArrayOutputStream.write(ByteArrayOutpu tStream.java:95)
Isn't JVM heap size by default set to 64M ? If so, why would my
program give me memory error sooner when I have increased and set max
heap size to 128M. Can anyone throw some light on this based on their
experience.....
Thanks in advance.