Re: [Matplotlib-users] Matplotlib eating memory

2013-10-10 Thread Michael Droettboom
Can you provide a complete, standalone example that reproduces the problem. Otherwise all I can do is guess. The usual culprit is forgetting to close figures after you're done with them. Mike On 10/10/2013 09:05 AM, Martin MOKREJŠ wrote: Hi, rendering some of my charts takes almost 50GB

Re: [Matplotlib-users] Matplotlib eating memory

2013-10-10 Thread Benjamin Root
On Thu, Oct 10, 2013 at 9:05 AM, Martin MOKREJŠ mmokr...@gmail.com wrote: Hi, rendering some of my charts takes almost 50GB of RAM. I believe below is a stracktrace of one such situation when it already took 15GB. Would somebody comments on what is matplotlib doing at the very moment? Why

Re: [Matplotlib-users] Matplotlib eating memory

2013-10-10 Thread Martin MOKREJŠ
Benjamin Root wrote: On Thu, Oct 10, 2013 at 9:05 AM, Martin MOKREJŠ mmokr...@gmail.com mailto:mmokr...@gmail.com wrote: Hi, rendering some of my charts takes almost 50GB of RAM. I believe below is a stracktrace of one such situation when it already took 15GB. Would

Re: [Matplotlib-users] Matplotlib eating memory

2013-10-10 Thread Benjamin Root
On Thu, Oct 10, 2013 at 9:47 AM, Martin MOKREJŠ mmokr...@gmail.com wrote: Benjamin Root wrote: On Thu, Oct 10, 2013 at 9:05 AM, Martin MOKREJŠ mmokr...@gmail.commailto: mmokr...@gmail.com wrote: Hi, rendering some of my charts takes almost 50GB of RAM. I believe below

Re: [Matplotlib-users] Matplotlib eating memory

2013-10-10 Thread Martin MOKREJŠ
Michael Droettboom wrote: Can you provide a complete, standalone example that reproduces the problem. Otherwise all I can do is guess. The usual culprit is forgetting to close figures after you're done with them. Thanks, I learned that through matplotlib-1.3.0 give spit over me a warning

Re: [Matplotlib-users] Matplotlib eating memory

2013-10-10 Thread Michael Droettboom
On 10/10/2013 09:47 AM, Martin MOKREJŠ wrote: Benjamin Root wrote: On Thu, Oct 10, 2013 at 9:05 AM, Martin MOKREJŠ mmokr...@gmail.com mailto:mmokr...@gmail.com wrote: Hi, rendering some of my charts takes almost 50GB of RAM. I believe below is a stracktrace of one such

Re: [Matplotlib-users] Matplotlib eating memory

2013-10-10 Thread Martin MOKREJŠ
Benjamin Root wrote: On Thu, Oct 10, 2013 at 9:47 AM, Martin MOKREJŠ mmokr...@gmail.com mailto:mmokr...@gmail.com wrote: Benjamin Root wrote: On Thu, Oct 10, 2013 at 9:05 AM, Martin MOKREJŠ mmokr...@gmail.com mailto:mmokr...@gmail.com

Re: [Matplotlib-users] Matplotlib eating memory

2013-10-10 Thread Martin MOKREJŠ
Michael Droettboom wrote: On 10/10/2013 09:47 AM, Martin MOKREJŠ wrote: Benjamin Root wrote: On Thu, Oct 10, 2013 at 9:05 AM, Martin MOKREJŠ mmokr...@gmail.com mailto:mmokr...@gmail.com wrote: Hi, rendering some of my charts takes almost 50GB of RAM. I believe below is a

Re: [Matplotlib-users] Matplotlib eating memory

2013-10-10 Thread Michael Droettboom
Thanks. This is much more helpful. What we need, however, is a self contained, standalone example. The code below calls functions that are not present. See http://sscce.org/ for why this is so important. Again, I would have to guess what those functions do -- it may be relevant, it may

Re: [Matplotlib-users] Matplotlib eating memory

2013-10-10 Thread Benjamin Root
On Thu, Oct 10, 2013 at 10:21 AM, Michael Droettboom md...@stsci.eduwrote: Thanks. This is much more helpful. What we need, however, is a self contained, standalone example. The code below calls functions that are not present. See http://sscce.org/for why this is so important. Again, I

[Matplotlib-users] ANN: matplotlib 1.3.1

2013-10-10 Thread Michael Droettboom
I'm pleased to announce the release of matplotlib version 1.3.1. This is a bugfix release. It may be downloaded from here, or installed through the package manager of your choice (when available): http://matplotlib.org/downloads The changelog is copied below: New in 1.3.1

Re: [Matplotlib-users] Matplotlib eating memory

2013-10-10 Thread Martin MOKREJŠ
Hi Ben, thank you for your comments. Looks I will have a bad sleep tonight. :( Some quick answers below. Benjamin Root wrote: On Thu, Oct 10, 2013 at 10:21 AM, Michael Droettboom md...@stsci.edu mailto:md...@stsci.edu wrote: Thanks. This is much more helpful. What we