Skip to content
Snippets Groups Projects
Commit 7148308f authored by Chad Hanna's avatar Chad Hanna
Browse files

make stack size smaller for gstlal_inspiral

parent cbb8752b
No related merge requests found
......@@ -84,6 +84,10 @@ resource.setrlimit(resource.RLIMIT_NPROC, (maxproc, maxproc))
maxas = resource.getrlimit(resource.RLIMIT_AS)[1]
resource.setrlimit(resource.RLIMIT_AS, (maxas, maxas))
# set the stack size per thread to be smaller
maxstack = resource.getrlimit(resource.RLIMIT_STACK)[1]
resource.setrlimit(resource.RLIMIT_STACK, (1 * 1024**2, maxstack)) # 1MB per thread, not 10
#
# =============================================================================
#
......
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