embray / gappy

Python interface to GAP
GNU General Public License v3.0
13 stars 5 forks source link

memory limit #18

Open jorgens opened 2 years ago

jorgens commented 2 years ago

I am reaching the preset memory limit and cannot seem to find a way to add more memory?

GAPError: Error, reached the pre-set memory limit
(change it with the -o command line option)

Any ideas?

embray commented 2 years ago

Hi @jorgens thanks for your interest in gappy. Unfortunately I haven't had the availability to work in it in some time though I would really love to get a final "1.0" release out sometime...

This is an interesting question--the memory limit should definitely be more easily customizable but at the moment it's not really. This is how the default memory limits are calculated: https://github.com/embray/gappy/blob/a0642c42fcbd0c8e7ff1ccb7ce68b77a08a7afc6/gappy/utils.pyx#L152

You could try changing it there and re-compiling from source.

jorgens commented 2 years ago

Hi @embray, thanks for your reply and no worries! I am just really happy I found your Python GAP integration. It has been extremely helpful in my project! I will have a look at the function you pointed to.

embray commented 2 years ago

Thanks for the feedback.. I'm going re-open this as a reminder that the memory pool size should be more easily configurable.