What is committed memory in the IS statistic page?

Hi,

I’ve set the server memory config in setenv.sh as follows

JAVA_MIN_MEM=1024M
JAVA_MAX_MEM=2048M

After the server start I found 2048 at Maximum memory and 1024 at committed memory.

But the committed memory is keeps on changing and sometimes its reaching the maximum level.

In one of our boxes, the committed memory is keep on increasing until the maximum memory, then we are getting OutOfMeMory error.

Can you anybody give more informatin about this behaviour?
Also how to make free the memory with out restarting the IS.

Thanks
Kesa

Hi Kesa,

For this you need to understand how the system architecture work. In a unix environment the OS has a set amount of memory eg. 4 GB. When you set the parameter for the IS JAVA_MIN_MEM=1024M, the JVM starts with an initial chunk of 1GB from the original 4GM set in the OS as physical memory.

Now as your IS starts processing the memory utilization of the server starts increasing depending on the kind of services running on your IS.

By the sound of it, it seems to be the case that the Garbage Collection might not have been working as efficiently as it should and there might be memory leaks in the code internally. I would recommend you have a manual GC set as a scheduled service in your IS. Just be careful that you dont set up GC as a scheduled service very frequently as it would make your system idle there by even reducing the performance of your server even further. Also check for variables not being dropped in your services. Its always a good idea to use clearPipeline service at the end of each of your flow services to clean up the pipeline to save memory.

Hope this helps.