1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
517 views
by ron-s-6919 (4.5k points)
I want to be able to get a heap dump automatically when the QIE application runs out of memory.

1 Answer

+1 vote
 
Best answer
Use the following java options:
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=C:\ProgramData\QIE
Additional details for these options can be found at oracle.
 
To set these options:
 
1. Open the QIE Service Manager dialog and navigate to the Startup tab.  Under Arguments, add the -XX options specified above.
 
NOTE: You can also take a heap dump from with the application at any time.  To take a heap dump, navigate to the Help menu and select the Monitor Server Memory Usage option.  Once the dialog comes up, press the Heap Dump button and answer Yes to the prompt.  Once completed, the heap dump file will be named qie.hprof and will be available in the QIE home folder.  These files can be quite large if QIE is using a lot of memory.
 
by ron-s-6919 (4.5k points)
selected by sam-s-1510
...