Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

increase GAP memory via Python script?

I'm trying to find the automorphism group of a large network (roughly 5000 nodes). I get the following memory error message:

RuntimeError: Gap produced error output Error, reached the pre-set memory limit (change it with the -o command line option)

I'm running Sage in a Python script (i.e. accessing Sage by importing its functions and calling them). Obviously, one of the Sage functions calls GAP. But how do I increase the memory for GAP (and Sage if applicable?). The command line option above can't be passed directly to GAP. Is there some way to deal with this? Yes, I've googled for this, but found nothing.

I'm running Sage 10.11 on a Mac Pro with 32 GB of memory. Mac OS 10.10.5. Thanks for any suggestions.