Re: determining available space for Float32, for instance

2006-05-25 Thread Robert Kern
David Socha wrote: > Robert Kern wrote: >>However, keeping track of the sizes of your arrays and the >>size of your datatypes may be a bit much to ask. > > Exactly. Building a duplicate mechanism for tracking this informaiton > would be a sad solution. Surely Python has access to the amount o

RE: determining available space for Float32, for instance

2006-05-24 Thread David Socha
Robert Kern wrote: > David Socha wrote: > > I am looking for a way to determine the maxium array size I can > > allocate for arrays of Float32 values (or Int32, or Int8, > ...) at an > > arbitrary point in the program's execution. This is needed because > > Python cannot allocate enough memor

Re: determining available space for Float32, for instance

2006-05-23 Thread Robert Kern
David Socha wrote: > I am looking for a way to determine the maxium array size I can allocate > for arrays of Float32 values (or Int32, or Int8, ...) at an arbitrary > point in the program's execution. This is needed because Python cannot > allocate enough memory for all of the data we need to pro