Opened 13 months ago

Last modified 8 weeks ago

#31761 new defect

Stop loading all installed GAP packages

Reported by: arojas Owned by:
Priority: major Milestone: sage-9.7
Component: packages: standard Keywords:
Cc: dimpase Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by arojas)

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.

Possible solutions:

1) Don't preload packages in Sage and let GAP load its default list of packages

2) Load a hardcoded list of packages (such as those installed by the gap and gap_packages spkg's)

Change History (5)

comment:1 Changed 13 months ago by arojas

  • Description modified (diff)

comment:2 Changed 13 months ago by arojas

  • Cc dimpase added

comment:3 Changed 10 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5

comment:4 Changed 5 months ago by mkoeppe

  • Milestone changed from sage-9.5 to sage-9.6

comment:5 Changed 8 weeks ago by mkoeppe

  • Milestone changed from sage-9.6 to sage-9.7
Note: See TracTickets for help on using tickets.