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

PostGIS trac at osgeo.org
Wed Mar 9 07:56:43 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):

 The problem seems to come from "get_rt_context" which switch the context
 of the most PostGIS raster functions preventing the PostgreSQL function
 manager to free the memory allocated to the context.

 Shall we not delete this context using rt_context_destroy(ctx) in all the
 functions except those returning PG_RETURN_POINTER(pgraster)?

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