From f32a2e860e41969fabe102a91e337269f17ba318 Mon Sep 17 00:00:00 2001 From: Omar Zapata Date: Sat, 6 Feb 2016 23:06:09 -0500 Subject: [PATCH] JupyROOT: fixed ROOT-R support for ROOTBooks --- bindings/pyroot/JupyROOT/handlers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/pyroot/JupyROOT/handlers.py b/bindings/pyroot/JupyROOT/handlers.py index 729cdc2dbe768..f57b2b1f75831 100644 --- a/bindings/pyroot/JupyROOT/handlers.py +++ b/bindings/pyroot/JupyROOT/handlers.py @@ -10,6 +10,7 @@ from ctypes import CDLL, c_char_p from threading import Thread from time import sleep as timeSleep +from resource import setrlimit, RLIMIT_STACK, RLIM_INFINITY _lib = CDLL("libJupyROOT.so") @@ -85,6 +86,7 @@ class Runner(object): ''' def __init__(self, function): self.function = function + setrlimit(RLIMIT_STACK,(RLIM_INFINITY,RLIM_INFINITY)) self.thread = None def Run(self, argument):