From: Jose Gomez-D. <jgo...@gm...> - 2009-03-05 20:44:23
|
Jeff, Solved, I think! 2009/3/3 Jose Gomez-Dans <jgo...@gm...>: > OK, I wasn't aware of this. However, memory consumption still flies. I am > aware that it could be other bits of the program that are eating up loads of > memory, but I don't know how to test where the bottleneck is. In the end, I > resorted to getting rid of basemap instances, but the problem persists. > There must be something in what I'm doing that's eating memory up, but I'm > not sure how to check what it is. A message to the list suggested that calling pyplot.close( fig_num) freed up the memory used, which I'm happy to report, is happening. I still haven't managed to "cut and paste" a background into my figures, but we'll get there... eventually!!! Thanks! Jose |