On Monday, March 28, 2016 at 5:54:34 PM UTC+2, Nils Bruin wrote:
>
> It's a simple one to set, though, and in many contexts it protects 
> against  silly memory errors (e.g., on a multi-user machine
>
 
But it doesn't help when you have multiple processes, as its per-process 
limit only.
 

> Perhaps we should take any ulimits into account when we compute our 
> defaults?
>

We do:

$ sage -c "print get_memory_usage()"
33707.9921875
$ ulimit -v 10000000
$ sage -c "print get_memory_usage()"
3554.1171875
$ ulimit -v 2000000
$ sage -c "print get_memory_usage()"
1600.98046875

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to