Re: PyNIO memory behaviour

From: David Ian Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Tue, 17 Apr 2007 11:52:35 -0600

Hi Jesper,

The GRIB reader does cache the data of the most recently accessed
150 records for each file that is open. This data is freed when the
file is closed.
It is possible that we could make the number of records cached
(or the
total size of the cache in bytes) a user-configurable option if this
behavior is
demonstrably undesirable in situations such as yours.
On Apr 17, 2007, at 6:14 AM, Jesper Larsen wrote:

> Hi pyngl people,
> I have made a long running application in which I keep a number of
> grib files
> open as NioFile objects. During the process I access the data
> contained in
> the NioFile objects. I make sure that my variables are deleted after
> usage.
> Can I expect that the PyNIO objects themselves won't take up much
> memory (my
> grib files are quite large) and leave the data on disk or will they
> somehow
> cache the data in memory? In other words: Is the memory footprint of
> the
> PyNIO objects small and more or less constant - or will it vary as my
> application runs?
> Kind regards,
> Jesper
> _______________________________________________
> pyngl-talk mailing list

pyngl-talk mailing list
Received on Tue Apr 17 2007 - 11:52:35 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 17 2007 - 15:42:04 MDT