[postgis-devel] [PostGIS] #851: [raster] Numerous ST_Value query cause the memory to grow indefinitely

PostGIS trac at osgeo.org
Thu Apr 7 11:21:49 PDT 2011


#851: [raster] Numerous ST_Value query cause the memory to grow indefinitely
----------------------------+-----------------------------------------------
 Reporter:  pracine         |       Owner:  jorgearevalo 
     Type:  defect          |      Status:  assigned     
 Priority:  blocker         |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by strk):

 The core deserializer uses allocators set in the rt_context.
 In the rt_pg case, this is palloc, which is supposed to release the memory
 when the associated pool goes out of scope.

 Now, the scope might be wider than you'd like, in which case it's fine to
 release manually, but it shouldn't live cross a single query.

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