This thread is archived
4 Replies Last post: Jun 28, 2006 12:12 PM by DM  
  5 posts since
Feb 19, 2006
Currently Being Moderated

Jun 19, 2006 11:49 AM

High memory utilisation

I have a wildfire server deployment currently running on version 2.6.2. There are currently 350 registered users and with 19 users currently connected I am seeing that the wildfire server is using 337.31 MB of 506.31 MB (66.6%) used

 

The server is running on the embedded database at the moment which is probably not good - is this the cause of the hight memory usage?.

 

The server runs on a Linux Fedora Core 2 system and was installed using the RPM from this site which uses the Java HotSpot(TM) Server VM version 1.5.0_06 from Sun Microsystems Inc.

 

The server is started with the following options -

 

INSTALL4J_ADD_VM_PARAMS="-Xms64m -Xmx512m"

 

Any info greatly appreciated !.

 

Thanks Darren

Gaston Dombiak Jiver 3,803 posts since
Sep 26, 2001
Currently Being Moderated
Jun 27, 2006 5:41 PM in response to: DM
Re: High memory utilisation

Hey Darren,

 

There is nothing to worry about. That is how Java applications usually behave. Java is responsible for collecting garbage (i.e. things no longer used) and clean up memory. The garbage collector process performs a balance between CPU consumption and amount of free memory. While there is still space in memory the garbage collector will perform incremental garbage collects but will leave heavy work until there is no more room in memory. Once memory is getting exhausted the GC will perform a full GC and will remove all old objects.

 

This means that if you decrease the amount of memory you give to Wildfire then the garbage collector will probably run more full GCs to release more memory and make room for new objects to create.

 

However, if you see the memory consumption is always going up and nothing is released after a full GC then there is a memory leak. As of Wildfire 2.6.2 there is not know memory leaking so you should be fine.

 

Regards,

 

  -- Gato

LG KeyContributor 5,051 posts since
Dec 13, 2005
Currently Being Moderated
Jun 28, 2006 1:39 AM in response to: DM
Re: High memory utilisation

Hi,

 

it may help a lot or cause OutOfMemory errors if you change

INSTALL4J_ADD_VM_PARAMS="-Xms64m -Xmx512m"

to

INSTALL4J_ADD_VM_PARAMS="-Xms32m -Xmx128m"

or to even lower values.

 

http://www.tagtraum.com/gcviewer-vmflags.html may also be interesting for you.

 

LG

More Like This

  • Retrieving data ...