Re: [sage-devel] Re: save is a memory hog

2024-08-02 Thread Salvatore Stella
Hi Julian, somehow reproducing this from the same dictionary loaded from a savefile yields less dramatic results. Here is what I am doing: sage: # this will downlod roughly 150 Mb of data load("http://people.disim.univaq.it/~salvatore.stella/tmp/bar.sobj";) Attempting to load remote file: http

[sage-devel] Re: save is a memory hog

2024-08-02 Thread julian...@fsfe.org
Hi Salvatore, I couldn't reproduce the problem that you are seeing. sage: R. = ZZ[] sage: D = {R.random_element(): ZZ.random_element() for _ in range(2**18)} sage: save(D, 'deleteme') The above uses a bit of RAM but not the amounts that you are seeing. Usually, I use memray to debug such proble