About Memory Leak in JAVA Any body pls help me

Hi All,

In our application, with JAVA we are using c, c++ native methods also.

The problem is, Eventhough the application is in idle state, the Virtual Memory occupation is getting increased. For 24 hours, 30 MB is increased, while the application is in idle state.

Is there any possiblity, this much memory leak can happen in JAVA. or it is from Native c side..

I would appreciate anybody' s help.

[434 byte] By [doubtinswinga] at [2007-11-27 5:48:06]
# 1
Its very much possible ,read about memory management and explicit release of memory in native method calls.
khangharotha at 2007-7-12 15:33:13 > top of Java-index,Core,Monitoring & Management...
# 2
Thanks. I am asking this much memory leak can be happen in JAVA itself?. We are using JAVA for UI and some application functionality only.Message was edited by: doubtinswing
doubtinswinga at 2007-7-12 15:33:13 > top of Java-index,Core,Monitoring & Management...
# 3
Can happen!! Does your UI pages has auto refresh enabled. If so then we can't say the system is in idle state. Have you tried using any profiler to get what kind of object are getting accumulated over a period time. Check for background jobs also. I am not sure of native memory leak.
veechanda at 2007-7-12 15:33:13 > top of Java-index,Core,Monitoring & Management...
# 4

Thanks

I am using JProfiler for that. I can observe what kind of objects not getting freed and the size of memory it is taking. and i observed thro JProfiler, that is only 16 kb of memory leak is happening. Can Any body who is well known about JProfiler help me. Can i differentiate the memory leak from JAVA and Native C side using JProfiler.

Any help would be appreciated.

doubtinswinga at 2007-7-12 15:33:13 > top of Java-index,Core,Monitoring & Management...