mmarco
unread,Jul 23, 2012, 4:49:40 AM7/23/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-devel
Right now the gap session used by sage is started with a memory limit
set by -o 9999G, which, in practice, means that there is no memory
limit.
The problem is that when it runs a computation that needs more memory
than what the system has available, it consumes it all, since the OS
decides to kill the process. When that happens, all the sage objects
that point to gap objects are orphaned, and hence, not working
anymore.
So i would propose to change the default option for gap in such a way
that the allocated memory deppends on the available memory on the
system (say, a 75% of the total memory). That way, when a gap
computation takes too much memory, gap itself would stop it, returning
a MemoryError, but without killing the session.
Thoughts?