Tuning JVM
From: Mark (decent_tiger_at_yahoo.com)
Date: 12/31/03
- Next message: Gerald Bauer: "Polls: Java Year 2003 Awards - Cast Your Vote"
- Previous message: paul: "Re: Vector Question for Newbie"
- Next in thread: Nathan Zumwalt: "Re: Tuning JVM"
- Reply: Nathan Zumwalt: "Re: Tuning JVM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Dec 2003 17:10:33 -0800
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(ByteArrayOutputStream.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.
- Next message: Gerald Bauer: "Polls: Java Year 2003 Awards - Cast Your Vote"
- Previous message: paul: "Re: Vector Question for Newbie"
- Next in thread: Nathan Zumwalt: "Re: Tuning JVM"
- Reply: Nathan Zumwalt: "Re: Tuning JVM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|