[postgis-devel] [PostGIS] #577: possible memory leak with buffer()

PostGIS trac at osgeo.org
Sat Aug 21 10:36:59 PDT 2010


#577: possible memory leak with buffer()
-----------------------+----------------------------------------------------
  Reporter:  davideps  |       Owner:  robe                           
      Type:  defect    |      Status:  closed                         
  Priority:  medium    |   Milestone:                                 
 Component:  postgis   |     Version:  1.3.X                          
Resolution:  invalid   |    Keywords:  memory buffer intersect dwithin
-----------------------+----------------------------------------------------

Comment(by nicklas):

 I just want to give a few comments even if the ticket is dead.

 David

 Your query doesn't call st_dwithin only 320000 times. Because you test
 every possible combination of polygons you actually calls the function
 320000*320000 times. So it might be understandable. But it sounds quite
 long anyway.

 PostGIS 1.5 should handle this better too. Especially if the polygons is a
 little bit complex with many vertxes upgrading might give quite a big
 difference.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/577#comment:5>
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