Re: [Numpy-discussion] matplotlib and numpy cause MemoryError

2009-11-18 Thread Mathew Yeates
I turns out I *was* running out of memory. My dimensions would require 3.5 gig and my plot must have used up some memory. On Wed, Nov 18, 2009 at 2:43 PM, Charles R Harris wrote: > > > On Wed, Nov 18, 2009 at 3:13 PM, Mathew Yeates wrote: > >> The value of dims is constant and not particular

Re: [Numpy-discussion] matplotlib and numpy cause MemoryError

2009-11-18 Thread Charles R Harris
On Wed, Nov 18, 2009 at 3:13 PM, Mathew Yeates wrote: > The value of dims is constant and not particularly large. Yes, but what are they? > I also checked to make sure I wasn't running out of memory. Are there other > reasons for this error? > > If there is a memory error, no memory is used.

Re: [Numpy-discussion] matplotlib and numpy cause MemoryError

2009-11-18 Thread Mathew Yeates
also, the exception is only thrown when I plot something first. I wonder if matplotlib is messing something up. On Wed, Nov 18, 2009 at 2:13 PM, Mathew Yeates wrote: > The value of dims is constant and not particularly large. I also checked to > make sure I wasn't running out of memory. Are ther

Re: [Numpy-discussion] matplotlib and numpy cause MemoryError

2009-11-18 Thread Mathew Yeates
The value of dims is constant and not particularly large. I also checked to make sure I wasn't running out of memory. Are there other reasons for this error? Mathew On Wed, Nov 18, 2009 at 1:51 PM, Robert Kern wrote: > On Wed, Nov 18, 2009 at 15:48, Mathew Yeates wrote: > > Hi > > > > I have a

Re: [Numpy-discussion] matplotlib and numpy cause MemoryError

2009-11-18 Thread Robert Kern
On Wed, Nov 18, 2009 at 15:48, Mathew Yeates wrote: > Hi > > I have a line of matplotlib code > > -self.ax.plot(plot_data,mif) > > > > that causes the line > > -self.data=numpy.zeros(shape=dims) > > > > to throw a MemoryError exception. > > (if I comment out the first line I get no error.) > > Thi

[Numpy-discussion] matplotlib and numpy cause MemoryError

2009-11-18 Thread Mathew Yeates
Hi I have a line of matplotlib code -self.ax.plot(plot_data,mif) that causes the line -self.data=numpy.zeros(shape=dims) to throw a MemoryError exception. (if I comment out the first line I get no error.) This is on a windows xp machine with latest numpy and the latest matplotlib. I