Hi,
Recently we were facing high memory utilization in our app and we decided to attach YJP on one of the instances. After we attached the YJP we observed that YJP was consuming the whole memory of host over a period of time (around 2 weeks) and causing the system to crash. I wanted to check if its a known behavior if we keep the profiler attached to our app instance for long time it will cause increased memory utilization on host.
increased in memory utilization of host
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: increased in memory utilization of host
Hi,
First of all, it is generally OK to run a JVM instance with the profiler for long time, as it is specially designed to work well in production too. Perhaps it's a configuration issue.
Which version of the profiler did you use?
What were the startup options?
http://www.yourkit.com/docs/java/help/s ... ptions.jsp
Which profiling modes were active?
What is the platform?
Which Java version is it?
Could you please clarify what do you mean with "attaching":
1) you started the app with the profiler agent;
or
2) you attached the agent to a running application:
http://www.yourkit.com/docs/java/help/r ... ofiler.jsp
3) In addition to 1 or 2: you have connected the profiler client UI to the app and kept it running?
First of all, it is generally OK to run a JVM instance with the profiler for long time, as it is specially designed to work well in production too. Perhaps it's a configuration issue.
Which version of the profiler did you use?
What were the startup options?
http://www.yourkit.com/docs/java/help/s ... ptions.jsp
Which profiling modes were active?
What is the platform?
Which Java version is it?
Could you please clarify what do you mean with "attaching":
1) you started the app with the profiler agent;
or
2) you attached the agent to a running application:
http://www.yourkit.com/docs/java/help/r ... ofiler.jsp
3) In addition to 1 or 2: you have connected the profiler client UI to the app and kept it running?
Using which tool did you make this observation?we observed that YJP was consuming the whole memory
What kind of crash was it? What was the error message? Do you have the crash log?causing the system to crash