[postgis-devel] lwgeom_release WTF

Paul Ramsey pramsey at cleverelephant.ca
Thu Sep 25 13:45:59 PDT 2008


Found in lwgeo:

TODO:
"- lwgeom_clone_deep / lwgeom_release_deep
  (or maybe should both be always be deep.... )"

Ya think?!?!?

It looks like many of our problems have been caused by people treating
lwgeom_release as if it, er, releases all the memory under the
structure! But, in fact, it doesn't release the bits that USE THE MOST
MEMORY, like the point lists, it just leaves 'em hanging high.

Anyhow, this opens a whole new vein of memory cleaning-upping, and
I'll continue onwards.

I'm committing a few more fixes to the P-i-P case now.

P.



More information about the postgis-devel mailing list