YK 4.0 Build 552.
When I get YK to save a memory snapshot it wants to save it to /usr/share/tomcat-4 but this directory does not allow the snapshot to be written because I do not allow the tomcat user to wtite there. How can I control where memory snapshots are written to?
How to change where memory snap-shots are saved?
-
- Posts: 2
- Joined: Thu Apr 14, 2005 12:19 pm
-
- Posts: 4
- Joined: Mon Mar 28, 2005 9:25 pm
dir=/blah/blah/blah
Look in the docs that come with yourkit under "Enabling profiling manually". One of the things you can set is the directory. Using tomcat you can add this to the startup_with_yjp.sh script on the -Xrunyjpagent line.