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

PostGIS trac at osgeo.org
Tue Apr 26 06:31:07 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):

 Ok, no problem with that. But what are the benefits of having a struct to
 keep pointers to functions against using variables, like done in PostGIS?

 Now, all raster core functions receive a pointer to rt_context object
 (static or dinamically allocated in rt_pg functions, it doesn't matter).
 In liblwgeom all functions use lwalloc, that simply calls the function
 pointed by lwalloc_var, declared in liblwgeom.h and set in the caller
 functions (the functions in postgis directory). Do you think the raster
 approach is better?

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