#11939: Notebook "ulimit -v" does not work
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: jason, mpatel, was
Type: defect | Status: new
Priority: critical | Milestone: sage-4.7.3
Component: notebook | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by leif):
You may try this (haven't tested the notebook at all):
{{{
#!diff
diff --git a/sagenb/interfaces/expect.py b/sagenb/interfaces/expect.py
--- a/sagenb/interfaces/expect.py
+++ b/sagenb/interfaces/expect.py
@@ -47,7 +47,7 @@
if process_limits:
u = ''
if process_limits.max_vmem is not None:
- u += ' -v %s'%(int(process_limits.max_vmem)*1000)
+ u += ' -v %s'%(int(process_limits.max_vmem*1000))
if process_limits.max_cputime is not None:
u += ' -t %s'%(int(process_limits.max_cputime))
if process_limits.max_processes is not None:
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11939#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.