Hello All,
Pls Help me to get rid of memory leakage ....
Find the description of my problem below.
********************************************
Application Description:
I m running a standalone java application on Linux.
This is a typical telecom application (24x7),which has many short lived
transactions.
This is a multithreaded application which connects with SMS Server (via
Socket) and send & receives SMSs.
Problem:
As we know, Java application runs in JVM.
As the total run time increases, memory occupied by the Java application also
increases.
A moment will come, when JVM will not be able to increase its heap size and
application get terminated due to Out of Memory error.
Taking typical memory figures,
Say when application starts, it is using 30 MB memory.
Typical Max. memory usage of the application is say, 100 MB.
But as time increases, memory usage of the application increases to say
200-300 MB or more.
We have tested our application and conformed that there is no memory leak in
the application.
More over, on Windows applications memory usage is stable and typically around
50 - 60 MB.
So what can be wrong with Linux & Java?
Linux Used:
Red Hat AS 2.1
Red Hat 7.3
Java Used:
J2SE 1.4 & higher
Thanks in Advance...
Pls Give me solutions ASAP.
Bye
Amit
chudasama_amit@yahoo.com