[pgrouting-dev] dealing with memory issues in home developed code

Sandro Santilli strk at keybit.net
Tue Sep 24 02:03:30 PDT 2013


On Tue, Sep 24, 2013 at 08:26:45AM +0200, Dave Potts wrote:
> I seem to have a memory issue in some code I am writing for c/c++
> pg-route project.  From the way that the code is behaving I seem to
> have a memory heap/corruption problem.  Is there an easy way of
> using something like the electric fence or other memory checker on a
> pg route module or does the entire postgres database need to be
> recompiled?

No need to recompile, check out
http://blog.cleverelephant.ca/2008/08/valgrinding-postgis.html

But if you're not afraid of recompiling, consider also this one:
http://wiki.postgresql.org/wiki/Valgrind

--strk;


More information about the pgrouting-dev mailing list