[postgis-devel] [PostGIS] #547: ST_contains memory problem when used between polygon and mixed geometry

PostGIS trac at osgeo.org
Thu Feb 9 05:16:07 PST 2012


#547: ST_contains memory problem when used between polygon and mixed geometry
----------------------+-----------------------------------------------------
  Reporter:  twain    |       Owner:  strk              
      Type:  defect   |      Status:  reopened          
  Priority:  blocker  |   Milestone:  PostGIS 2.0.0     
 Component:  postgis  |     Version:  1.5.X             
Resolution:           |    Keywords:  ST_contains memory
----------------------+-----------------------------------------------------

Comment(by strk):

 Ok, I could reproduce by running ST_Intersects(A, A) OR ST_Intersects(A,
 P).

 Interesting enough the leak remains in the A-A case, doesn't matter if A-P
 is encountered, so the problem is fully with the prepared geometry cache,
 not the RTREE one. Which is the confusing function, btw. This is with
 ST_Intersects though (as the reporter for r8877 regression uses), not
 ST_Contains (which does _not_ seem to leak for me).

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/547#comment:16>
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-devel mailing list