Sidebar

How do you configure QIE to produce a heap dump on an out of memory error?

0 votes
371 views
asked Jul 8, 2013 by ron-s-6919 (4,480 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.
 
answered Jul 8, 2013 by ron-s-6919 (4,480 points)
selected Jul 8, 2013 by sam-s-1510
...