Hi, Le 30/04/2021 à 09:05, Antonio Rojas a écrit :
Hi, On a fresh run of the GAP interface, Sage caches a GAP workspace which loads every single GAP package on the system. While this might be OK with Sage's trimmed-down version of gap_packages, if using a system GAP install with all optional packages installed this can take a massive amount of memory (~1GB with all packages included in the 4.11.1 tarball), which in many casses surpasses the default gap_memory_pool_size value, causing crashes. This will become a common issue once #29644 is merged. I don't think it is realistic to expect a user to need every single optional package. Should this preloading be limited to a selected number of packages (eg. those loaded in GAP by default)? Or just let users load the packages they need on demand?
Does your remark applies to both the pexpect GAP interface and libgap? The two options you propose sound reasonable. I might have a preference towards GAP defaults since the user would be able to modify it via a .gaprc file. Vincent -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/92228981-95e8-3bb3-b140-a3ac70f5436c%40gmail.com.
