Hi!
I'm having problem with data plotting in matplotlib. Tried versions, 1.2.0
and 1.3.0 too, the same thing occurs except the error message. On 1.2.0 the
error message is Agg complexity exceeded on 1.3.0 it is Allocated too many
blocks.
The data i need to plot is 1M pts long and it's a bit complex (have a lot of
big changes). 

data = []
for a in range(0,1000000):
    data.append(int(random.random()*256))

I can catch the Overflow excepton, and i recover the matplotlib widget by
resetting the renderer, but the memory allocated by the previous plot is
still allocated until i close the app.
Is there a way to find where that memory leaked and how could i free it up?
Tried to clear the variables where i store the data, also cleared the figure
with .clear(), .clf(), .close() the memory is still used.



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/Agg-complexity-exceeded-or-allocated-too-many-blocks-tp41998.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to