[postgis-tickets] [PostGIS] #4825: Memory Leak wiht ST_MakeValid() and invalid geometry?

PostGIS trac at osgeo.org
Tue Jan 5 01:45:10 PST 2021


#4825: Memory Leak wiht ST_MakeValid() and invalid geometry?
---------------------+---------------------------
 Reporter:  neumann  |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.1.1
Component:  postgis  |    Version:  master
 Keywords:           |
---------------------+---------------------------
 There seems to be something weird (memory issue) when ST_MakeValid() is
 used repeatedly on broken geometries. The same query, when executed
 repeatedly, gives different results over time.

 Attached is a small dump containing only broken geometries and here is a
 query for this data:

 {{{
 SELECT t_id,
        ST_AsText(geometrie),
        ST_AsText(ST_MakeValid(geometrie)),
        ST_IsValidReason(geometrie),
        ST_IsValidReason(ST_MakeValid(geometrie))
   FROM arp_npl.erschlssngsplnung_erschliessung_linienobjekt eel
     WHERE ST_IsValid(geometrie) = FALSE;
 }}}

 When the database is restarted and the query is executed again repeatedly,
 it is initially "back to normal" until the pattern with the weird results
 repeats again.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4825>
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