Re: [sage-devel] Significant memory leak using mathematical constants

2020-11-10 Thread Dima Pasechnik
On Tue, Nov 10, 2020 at 9:42 AM Nils Bruin wrote: > > On Sunday, November 8, 2020 at 7:55:12 AM UTC-8, Dima Pasechnik wrote: >> >> thanks for a short example, it is helpful. >> now someone needs to dig into pynac code to understand where the memory leak >> is coming from. >> > I've commented on t

Re: [sage-devel] Significant memory leak using mathematical constants

2020-11-10 Thread Nils Bruin
On Sunday, November 8, 2020 at 7:55:12 AM UTC-8, Dima Pasechnik wrote: > > thanks for a short example, it is helpful. > now someone needs to dig into pynac code to understand where the memory > leak is coming from. > > I've commented on the ticket -- I have a pretty good candidate for where the l

Re: [sage-devel] Significant memory leak using mathematical constants

2020-11-08 Thread Dima Pasechnik
thanks for a short example, it is helpful. now someone needs to dig into pynac code to understand where the memory leak is coming from. On Sat, 7 Nov 2020, 20:40 agrea...@gmail.com, wrote: > I have been struggling with memory leaks for awhile, and finally tracked > it down to the use of the bui

[sage-devel] Significant memory leak using mathematical constants

2020-11-07 Thread agrea...@gmail.com
I have been struggling with memory leaks for awhile, and finally tracked it down to the use of the built-in mathematical constants like pi, e, etc. As a minimal example, running the code: while pi<4: x=0 will gradually exhaust all available memory. The same is true if pi is replac