Re: Warning: not enough memory

Ewan Delanoy <[email protected]> Fri, 12 Dec 2025 11:59:46 +0100
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <[email protected]>
> I'm using a Linux OS on my laptop, and it indicates that I have more than 200GB of free space.

> However it seems that PARI-GP can only use a relatively small fraction of this space :

>? default(parisizemax,40G);

>  ***   Warning: not enough memory, new PARI stack 20000002048

>  ***   Warning: new maximum stack size = 20000002048 (19073.488 Mbytes).





> Do you have 200GB of free space on your hard drive, or 200GB of RAM?



I meant 200GB of disk space, not RAM aka memory.

I've just realized that my question was ill-posed, since parisizemax refers to

RAM aka memory not free space.



> Try this command: free -ght



$ free -ght

               total        used        free      shared  buff/cache   available

Mem:       14Gi       7.2Gi       3.9Gi       105Mi       3.7Gi       7.7Gi

Swap:      4.0Gi      638Mi      3.4Gi

Total:        18Gi      7.8Gi       7.3Gi



Cheers,



E. D.