I haven't made a ticket yet.  I forwarded it to sage-devel first,
where more people with expertise will see it.  But as far as I know
this was not a known problem and it should get a ticket.

-Marshall

On Mar 4, 7:18 pm, Simon King <simon.k...@nuigalway.ie> wrote:
> Hi Yann!
>
> On 5 Mrz., 00:49, Yann <yannlaiglecha...@gmail.com> wrote:
>
> > sage: R.<x>=QQ[]
> > sage: while True:
> > ....:     f=x+1
>
> > this eats up memory... it's bad
>
> On the bright side, such a short example will probably be very helpful
> to detect the problem.
>
> Note that the memory is not constantly increasing: it jumps:
> sage: R.<x>=QQ[]
> sage: n=0
> sage: M=get_memory_usage()
> sage: while(1):
> ....:     if get_memory_usage()>M:
> ....:         M = get_memory_usage()
> ....:         print n
> ....:     n+=1
> ....:     f=x+1
> ....:
> 0
> 21352
> 23464
> 25576
> 27688
> 29800
> 31912
> 34024
> 36136
> 38248
> 40360
> 42472
> 44584
> 46696
>
> Is there already a ticket?
>
> Cheers,
> Simon

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to