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

PostGIS trac at osgeo.org
Tue Apr 26 04:56:44 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 jorgearevalo):

 Of course. I'm copying the things that work on PostGIS. But the changes
 can be summarized in:
   - using global vars to store memory allocators, instead of a struct
 (rt_context), that must be allocated in every function call.[[BR]]
   - working on the SQL calling function memory context.
 "MemoryContextSwitchTo" is used only when you need a persistent memory
 context to store info (SRF).[[BR]]

 So, it's not so huge change, really.

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