Debugging Java
From Observer GigaFlow Support | VIAVI Solutions Inc.
Enable debugging of network sessions -Djavax.net.debug=all
High CPU usage Enabling the hprof can assist in monitoring high cpu usage. This must be done with a command line switch and can only be enabled at startup of the software (run in cosole not service mode)
C:\AnuView\Flow>"c:\Program Files\Java\jre1.8.0_101\bin"\java -agentlib:hprof=cpu=samples,depth=100,interval=7,lineno=y,thread=y,file=output.hprof -Xms64M -Xmx1512M -XX:+HeapDumpOnOutOfMemoryError -jar c:\AnuView\Flow\dist\ROS.jar httpport=7902 httpsport=8902 "localpcap=c:\\AnuView\\bigpcap.pcap|100"
To trigger a hprof, on windows use Ctrl-break, wait for a period and then run again to get a delta. On linux use Ctrl + \ or Ctrl + Y