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 not be done?
VERY rude indeed.
More sensible would be to
1) Query the limits and exit if they are too low.
2) Consider reporting a message like "Computations in Sage can tend to be memory
intensive. You have a soft limit of xxx you might want to consider increasing
that if Sage runs out of memory"
Just to unset limits that someone has put in place is not in my opinion a good
idea.
Dave
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org