Reputation: 1116
when java process of profiling application killed (ex: kill -9 processId
), jprofiler closing profiling and saying:
The network connection has been lost. The JVM might have terminated unexpectedly. If the JVM has crashed, please try the following strategies:
- Reduce the -Xmx value of the profiled application
- Change your profiling settings (e.g. from instrumentation to sampling) O Don't show this dialog again
is there any way for save immiditly when process killed
JProfiler version:11.1.4
Edit: The killed process is not jprofiler's process, it is java process of which is profiling.
Upvotes: 1
Views: 366
Reputation: 47965
There is no way to do that, because the process is being killed so no code can run in that process anymore.
Upvotes: 1