[sage-support] Memory issues when running simple program

2021-09-02 Thread Britt Cagnina
I'm running SageMath 9.2 on windows (and also tried 9.0 on Ubuntu). My specs are: Intel i5-10600K CPU @ 4.10GHz, 32.0 GB RAM, and a RTX 3060 graphics card. When I run the following program, it seems to starts leaking memory until all 32 GB is consumed, then crashes. I may be doing something sil

[sage-support] Re: Memory issues when running simple program

2021-09-02 Thread Nils Bruin
I'd suspect the problem is not the ray tracing but the description of the object. Probably, `parametric_plot` produces a description of your shape with tubular segments and with a min_depth=20 it probably produces *very* many of them. So you probably don't get to ray tracing: you're stuck in co

Re: [sage-support] Memory issues when running simple program

2021-09-02 Thread 'Justin C. Walker' via sage-support
FWIW, I ran this on a 2019 Mac Book Pro (8-core 2.4 GHz Core i9) with 64GB of memory and ~4TB of disk. The code thrashed the disk with more paging than I have seen in a long time with this much disk. As Nils guesses, it’s the parametric_plot() call that brings things to a halt. I finally kill