[Gdal-dev] Forgetting to Destroy?

Curt Mills hacker at tc.fluke.com
Thu Dec 11 12:34:35 EST 2003


On Thu, 11 Dec 2003, Curt Mills, WE7U wrote:

> My code is currently reading Shapefile maps via OGR.  If I disable
> the feature loop, memory appears relatively stable.
>
> Enabling the feature loop, I'm losing megabytes every time I read
> in Shapefiles.

More data:  Tried the same thing with SDTS DLG file.  First file
load takes me from 10588 kbytes to 14508 kbytes, then it stays
stable as I pan/zoom (which reads the file in again), actually
dropping slightly to around 14476 kbytes.

With Shapefiles, the memory just keeps climbing each time I load a
file.  A lot.

-- 
Curt Mills, WE7U                    hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math!"
"Windows:  Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Gdal-dev mailing list