XmacsLabs / mogan

Mogan STEM Suite (based on GNU TeXmacs): Enjoy exploring science and technology!
https://mogan.app
GNU General Public License v3.0
369 stars 29 forks source link

Memory consumption issue #1679

Open nerd-qp opened 6 months ago

nerd-qp commented 6 months ago

Mogan Version

v1.2.5

Operating System Version and Architecture

MacOS 14.3

Describe Bug

Memory consumption on my laptop reaches 6GB under normal usage -- editing documents that is roughly 10 pages. It only happens as the use time increases. 6GB is too much for a word processor, considering 8GB as a standard size of memory for many entry level laptops; this could severely hinder user experience for these users.

Expected Behavior

Memory consumption should be more optimized to the level of 1~2GB.

There is no such issue for TeXmacs, which uses guile-1.8 rather than s7.

da-liii commented 6 months ago

Can I reproduce the bug via https://github.com/XmacsLabs/interactive-sicp/blob/main/sicp.tm which is about 150 pages?

How long did you use Mogan when its memory consumption reached 6GB?

Could you send me your 10 pages privately via email (shenda AT ustc.edu)?