On Monday, December 13, 2010, usherbsallen <steve.al...@usherbrooke.ca> wrote: > > Hi, > I am using imshow to illustrate the content of arrays. But I am having > problems when arrays are too large. There seem to be a limitation that is > not due to the computer memory size. My data are unsigned integer 1 byte and > I am limited to array of about 12000 x 5000. > When trying with a 16000 x 5000 array, my 4 GB computer got very slow and > never perform the creation of the image. After 10 minutes, I have to kill > the process. On a 16 GB computer, I've got a segmentation fault message. The > size limitation are approximately the same on both computers. > > I found a solution by calling twice the imshow function with only part of > the array each time. But I think there might be a better solution. > > My feeling is that the limitation is not due to matplotlib or python but > rather from gtk or other part of the imaging tools. > > Steve > -- > View this message in context: > http://old.nabble.com/memory-problem-in-imshow-tp30446084p30446084.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
What version of mpl are you using? There was a bug fixed over the summer regarding seg faults and memory usage. Ben Root ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users