Hi,


I have already submitted this issue as a possible problem to Tracker,
however there is no response till now
http://sourceforge.net/tracker/?func=detail&aid=2940967&group_id=80706&atid=560720.
 Probably, someone could help me with possible workaround for this problem.

I use the pylab.figure in the other application where a user should close
the figure manually. After the figure is closed, I would expect the memory
goes back to the level it was before. However, it is not the case, I have
noticed a memory leak when using pylab.figure(), pylab.show().If I try to
let show figure via pylan.ion(), then pylab.figure() and pylab.iof(), I also
see the memory leak.
Below is simple example:



pylab.ion()

for i in range(10):

    pylab.figure()

    pylab.draw()

    val = cbook.report_memory(i)

    print i, val

pylab.ioff()



the same loop is used for show():

for i in range(10):

    pylab.figure()

    pylab.plot([1,3])

    val = cbook.report_memory(i)

    print i, val

pylab.show()


I use the python version 2.5.1, the matplotlib version 0.99.0, OS: SunOs5
(Solaris), backend: TkAgg.



Thanks in advance,

Tanja
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to