[postgis-devel] [PostGIS] #837: [raster] ST_MapAlgebra -- I think we have a memory leak

PostGIS trac at osgeo.org
Tue Apr 5 06:59:27 PDT 2011


#837: [raster] ST_MapAlgebra -- I think we have a memory leak
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  jorgearevalo 
     Type:  defect          |      Status:  assigned     
 Priority:  blocker         |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by robe):

 Jorge,

 Sorry to take so long to reply. On my windows mingw install it gives same
 message as yours and answers are in right ball park.

 Takes 13 seconds to do the map call.

 {{{
 SELECT distinct (r).val
 FROM (SELECT ST_DumpAsPolygons(map_rast) as r
 FROM ch13.pele) As foo
 }}}

 Takes 359 ms.

 So ST_DumpAsPolygons seems much faster and my elephant is recognizable in
 open jump. I haven't done any other tests though.

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