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

PostGIS trac at osgeo.org
Tue Mar 15 09:37:11 PDT 2011


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

Comment(by strk):

 @pracine: you should get pretty much the same behavior with less effort by
 dropping all the MemoryContext switch in rt_get_context, as in that case
 the context itself should be allocated in the function's memory context.
 You may try that to centralize control over that in a single place (the
 context getter function) and easily toggle between the static and non-
 static version.

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