[postgis-devel] brainstorming about topology polygonizer
Sandro Santilli
strk at kbt.io
Fri Sep 16 02:09:25 PDT 2016
On Fri, Sep 16, 2016 at 08:00:27AM +0200, Sandro Santilli wrote:
> > I'll try a different approach, along these lines:
> >
> > geom = (GSERIALIZED *)PG_DETOAST_DATUM_COPY(dat);
> > lwg = lwgeom_from_gserialized(geom);
> > edge->geom = lwgeom_clone_deep(lwg);
> > lwgeom_free(lwg);
> > pfree(geom);
>
> This test reduced the Maximum resident set size (kbytes) of the
> "Arezzo UCS" case from
> 772400 to
> 722460
>
> Not a huge benefit !
I finally got a bigger fish: the topology callbacks were just
never releasing memory associated with resultsets
--
() Free GIS & Flash consultant/developer
/\ https://strk.kbt.io/services.html
More information about the postgis-devel
mailing list