[PostGIS] #5808: Weird constant ram increase using topology

PostGIS trac at osgeo.org
Wed Nov 6 00:05:55 PST 2024


#5808: Weird constant ram increase using topology
-----------------------+---------------------------
  Reporter:  latot     |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 3.5.1
 Component:  topology  |    Version:  3.5.x
Resolution:            |   Keywords:
-----------------------+---------------------------
Comment (by strk):

 Having a literal `POSTGIS_REVISION` in the output of
 `postgis_full_version()` is unexpected, did you have trouble with SQLPP at
 build time ?
 How does postgis_config.h looks ? And `grep ^SQLPP postgis/Makefile`?

 In any case is
 [https://git.osgeo.org/gitea/postgis/postgis/src/tag/3.5.0/topology/postgis_topology.c#L799
 currently] using
 [https://github.com/postgres/postgres/blob/ba08edb065459fca62191c020362022efd42b522/src/backend/utils/mmgr/README#L185
 TopMemoryContext] which is never automatically released by PostgreSQL
 backend so if any code path fails to explicitly release that memory you'd
 get such increasing memory usage until disconnect
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5808#comment:6>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list