reading large file

Adam Przybyla adam at
Fri Sep 5 19:14:28 CEST 2003

guillaume <g_alleon at> wrote:
> I have to read and process a large ASCII file containing a mesh : a
> list of points and triangles.
> The file is 100 MBytes.
> I first tried to do it in memory but I think I am running out of
> memory therefore I decide to use the shelve
> module to store my points and elements on disks.
> Despite the fact it is slow ... Any hint ? I think I have the same
> memory problem but I don't understand why
> since  my aPoint should be removed by the gc.

> Have you any idea ?
	... try PyTables;-) Regards
								Adam Przybyla

More information about the Python-list mailing list