Skip to content
Snippets Groups Projects
Unverified Commit 7b7e4b42 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony Committed by GitHub
Browse files

Try 75% free memory before pause

parent 5f426e69
No related branches found
No related tags found
No related merge requests found
......@@ -109,10 +109,9 @@ from mantid.api import FrameworkManager
from mantid.kernel import MemoryStats
FrameworkManager.Instance().clear()
if MemoryStats().getFreeRatio() < 0.5:
if MemoryStats().getFreeRatio() < 0.75:
# sleep for short period to allow memory to be freed
time.sleep(2)
"""
# -- Options for pngmath --------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment