[sage-devel] Re: Sage meddles with soft ulimits

2010-06-30 Thread Nils Bruin
Patch up at http://trac.sagemath.org/sage_trac/ticket/9398 ready for review. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.

Re: [sage-devel] Re: Sage meddles with soft ulimits

2010-06-30 Thread Dr. David Kirkby
On 06/30/10 09:27 PM, Nils Bruin wrote: Ah, found it. devel/sage-main/sage/all.py, line 179: # maximize memory resources try: import resource # unix only... resource.setrlimit(resource.RLIMIT_AS, (-1,-1)) except: pass This seems rather rude to me. Perhaps this should simply no

[sage-devel] Re: Sage meddles with soft ulimits

2010-06-30 Thread Nils Bruin
Ah, found it. devel/sage-main/sage/all.py, line 179: # maximize memory resources try: import resource # unix only... resource.setrlimit(resource.RLIMIT_AS, (-1,-1)) except: pass This seems rather rude to me. Perhaps this should simply not be done? -- To post to this group, send a

[sage-devel] Re: Sage meddles with soft ulimits

2010-06-30 Thread Nils Bruin
This is something peculiar to sage. The python shipped with sage does not have this problem: sh-3.2$ ulimit -S -v 100 sh-3.2$ sage -python Python 2.6.4 (r264:75706, Jun 27 2010, 16:50:30) [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2 Type "help", "copyright", "credits" or "license" for more