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

PostGIS trac at osgeo.org
Wed Mar 9 14:24:15 PST 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 pracine):

 I know that if I don't make it static and I use
 rt_context_destroy(rt_context ctx) at the end of the proper rt_pg
 functions, everything goes fine and momory do not grow anymore. My guess
 is that this recipe should not be applied to function returning
 PG_RETURN_POINTER(pgraster)

 But making it static seems to be nicer, so I will trace a little bit.

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