Skip to main content

Automatically save Heap dump

Maxime avatar
Written by Maxime
Updated over 3 weeks ago

Question

An OutOfMemory error occurs in the Scriptura Process server. What can be done to further investigate?

Answer

When an OutOfMemory occurs in the Scriptura Server, a Heap Dump can help to determine what the cause of the error is.
You can add the following parameters to the ScripturaStartServer.ini file (after -vmargs)

-XX:HeapDumpPath=C:\Temp
-XX:+HeapDumpOnOutOfMemoryError

Where C:\Temp is the path the Heap Dump should be saved.

Please note that a Heap Dump can become quite large (at least the size of used memory) so make sure there is enough disk space available.

Did this answer your question?