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

PostGIS trac at osgeo.org
Sat Aug 21 09:01:04 PDT 2010


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

  * owner:  pramsey => robe


Comment:

 David,

 I don't think this is a bug, and if it is its probably in an already
 patched GEOS.  Before I dismiss this as a non-issue, can you tell us which
 version of GEOS you are running?  The below query will tell you.


 {{{
 SELECT postgis_full_version();
 }}}

 Secondly doing a buffer takes a lot of memory because it has to create a
 derivative geometry.  The more points in your geometry the more memory it
 will take.

 Thirdly there have been memory leaks in prior GEOS versions that have
 since been patched.  Some having to do with buffer.  If you are running
 GEOS below 3.2, you might want to upgrade your GEOS.

 Forthly do you have spatial indexes in place as Nicklas had mentioned?  22
 minutes is still quite a bit of time, though may be valid for your query
 set.

 Thanks,
 Regina

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