Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2005 19:47:14 -0600
From:      Brian John <brianjohn@fusemail.com>
To:        freebsd-questions@freebsd.org
Subject:   java applications taking up too much memory
Message-ID:  <421BE0A2.905@fusemail.com>

next in thread | raw e-mail | index | archive | help
Hello,
It seems that my java applications are taking up a ton of memory.  Even 
one small jar that I start at startup takes up almost 200 MB!

I start it like this:
java -Xms4m -Xmx8m -jar /home/brian/serverWatcher/serverwatcher.jar &
and it looks like this in top:
76750 brian     20    0   159M 10840K kserel   0:03  0.00%  0.00% java

I start Azureus like this:
azureus -Xmx128m
and it looks like this in top:
59636 brian     20    0   503M   228M kserel   2:37  0.00%  0.00% java

I only have 512M of memory on this machine.  Does anyone have any idea 
how I can make these apps take up less memory?

Thanks

/Brian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421BE0A2.905>