I am running a Java code in a server (remotely) by using javac. Now, I want to perform memory profiling remotely because as YourKit say’s,
Picked up JAVA_TOOL_OPTIONS:
Cannot start the profiler UI: display is not available on this machine.
Can anybody help me how can I do this easily.
I would recommend you to use JProfiler.You can get it from here and found many helpful tutorials.Here is JProfiler manual