Re: [OSM-dev] Memory-Leak in osmium

2011-11-21 Thread Peter Körner
Am 21.11.2011 15:36, schrieb Jochen Topf: I don't think that there is a memory leak. Valgrind tells me that all is ok. A program can leak memory without valgrind showing it. I already guessed that this data is not completely useless. The behaviour you see comes from the PBF reader and especia

Re: [OSM-dev] Memory-Leak in osmium

2011-11-21 Thread Jochen Topf
On Mon, Nov 21, 2011 at 12:07:42PM +0100, Peter Körner wrote: > I found a memory-leak in osmium-master. I compiled the > osmium_progress example and fed germany.osh.pbf > > into it. > > During

Re: [OSM-dev] Memory-Leak in osmium

2011-11-21 Thread Peter Körner
Hi Am 21.11.2011 12:07, schrieb Peter Körner: I found a memory-leak in osmium-master. Digging into it, it seems that the pbf reader is leaking memory. I attached valgrind-massif output for running osmium_progess against mainz.osh.pbf and mainz.osh. The pbf-run took nearly 44x the memory of t

[OSM-dev] Memory-Leak in osmium

2011-11-21 Thread Peter Körner
Hi I found a memory-leak in osmium-master. I compiled the osmium_progress example and fed germany.osh.pbf into it. During the nodes processing the program takes 70 MB of RAM. When it sta