Hi, I am new to this forum. I appreciate any help.
I am running Fedora Core 3 inside Microsoft Virtual PC. I just noticed that Java eats up too much memory.
1. I have Borland C++BuilderX installed. When CBX starts up, System Monitor shows that Java eats up more than 400mb memory! I have also post this to Borland newsgroup, and I think it's solely Borland's matter so I post it here again.
2. If I view a Java applet inside Firefox 1.0, then java_vm eats up more than 200mb memory.
I want to know:
1. If this is normal for Java to eat up so much memory?
Re: java_vm eats up hundreds of memory (>200mb) on Fedora Core 3!
Jan 27, 2005 7:14 PM
(reply 2
of 8) (In reply to
#1 )
No, it's not a recognized problem.
How much memory is required to run a simple java
program from the command line, or an applet, without
any of the other stuff?
In Windows XP Pro + IE, on 1.5_01, I can run the
clock applet from the Java JDK demo folder in about
30 mb.
Doing java -jar welcome.jar shows me that java takes about 214mb memory. Note this is on Fedora Core 3; on Windows java only taks less than 15mb on Windows 2000.
If I open an applet in firefox I don't see a seperate java_vm process in task manager.
If I use applet viewer to open the BarChart demo I see a peak usage of 14,300K
I am using JDK 1.4.2_05 on Windows 2000.
Generally if the Java is using alot of memory (and you haven't changed the memory parameters) it is because it has loaded alot of libraries. Still it would have to load alot of libraries to reach 200 MB.
Re: java_vm eats up hundreds of memory (>200mb) on Fedora Core 3!
Sep 23, 2005 10:24 AM
(reply 8
of 8) (In reply to
#6 )
jvm eats up all memory, growing continusly till it reaches
-Xmx, then starts to take up SWAP without releasing the
SWAP at all, until we manually kill the java application.
There was no load on the java application. this is during off peak
hours, during peak hours java application server has to be restarted
every 1 hour to release SWAP to O/S RHES 3 with Sun 1.4.2_06b