Hacker News new | ask | show | jobs
by bgwhn 3940 days ago
> Sage uses a lot of memory (large matrices, plots, etc.), and the state must be maintained in memory during the course of the calculation.

1. I thought sage used a ton of RAM partly because of the huge amount of statically linked libraries. I see you said you're using fork to maximize shared memory. Have you tried KSM (Kernel Samepage Merging)?

2. Have you looked at zram? Certain matrices and such may be easily compressible.

1 comments

Thanks -- these are both great ideas; I've opened a ticket: https://github.com/sagemathinc/smc/issues/93