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 killed it after about 4 hours.

Also, memory usage for this python process seemed to stabilize for the last 2-3 
hours.

HTH

Justin

> On Sep 2, 2021, at 10:28, Britt Cagnina <brittcagn...@gmail.com> wrote:
> 
> 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 silly in the below 
> example (though it is roughly copy/paste from 
> http://sporadic.stanford.edu/reference/plot3d/sage/plot/plot3d/tachyon.html)
> 
> Or perhaps I simply don't have enough memory--which would be odd considering 
> I can ray trace much more complicated objects on Blender with no trouble.
> 
> f = lambda t: (t, t^2, t^3)
> t = Tachyon(camera_center=(5,0,4))
> t.texture('t0', ambient=0.1, diffuse=0.9, specular=0.1,  opacity=1.0, 
> color=(1.0,0,0))
> t.light((-20,-20,40), 0.2, (1,1,1))
> t.parametric_plot(f, -10, 10,'t', min_depth=20, max_depth=40)
> t.save(filename='parametric.png', verbose=0, extra_opts='')
> 
> Thanks for the time,
> Britt
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/9bc2b2c9-2e87-484f-97b8-a2541f2ed14dn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/9C689B91-8971-46FC-B74A-375629408AC6%40mac.com.

Reply via email to