[Numpy-discussion] Not enough storage for memmap on 32 bit WinXP for accumulated file size above approx. 1 GB
Mon Jul 27 10:41:52 CDT 2009
Kim Hansen wrote:
> Yes, I see the problem in getting the same kind of reuse of objects
> using simple indexing. For my specific case, I will just allocate a
> new array as containing a copy of every 100th element and return this
> array. It will basically give me the same result as the original
> recarray is for read-only purposes only. This will be very simple
> implement for the specific cases I have
It does sound like PyTables may do just what you want, but if not:
You may be able to get this simple use case handles by writing your own
simple memory mapped array implementation, perhaps as a subclass of
ndarray, or perhaps from scratch. Python's "duck typing" could allow you
to simply plop your implementation in where you need it.
This does require that you really do only need a few simple features...
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
More information about the NumPy-Discussion