[GRASS-dev] [GRASS GIS] #14: libgis and libvect memory leaks

GRASS GIS trac at osgeo.org
Sat Dec 13 14:13:47 PST 2014


#14: libgis and libvect memory leaks
------------------------+---------------------------------------------------
  Reporter:  neteler    |       Owner:  grass-dev@…              
      Type:  defect     |      Status:  closed                   
  Priority:  major      |   Milestone:  6.4.2                    
 Component:  LibVector  |     Version:  svn-releasebranch64      
Resolution:  wontfix    |    Keywords:  library                  
  Platform:  Linux      |         Cpu:  x86-64                   
------------------------+---------------------------------------------------
Changes (by neteler):

  * status:  new => closed
  * resolution:  => wontfix
  * version:  svn-trunk => svn-releasebranch64
  * component:  Default => LibVector


Comment:

 Tested in G7 relbranch/r63512 and memory consumption is much lower than in
 G6.4.svn (as expected).

 Test case G6:
 {{{
 export GRASS_OVERWRITE=1
 v.random -z random n=50 zmin=0 zmax=1000
 CMD="v.distance -p -a random to=random upload=dist column=dummy"
 valgrind --tool=memcheck --leak-check=yes --show-reachable=yes $CMD
 }}}

 Test case G7:
 {{{
 export GRASS_OVERWRITE=1
 v.random -z random n=50 zmin=0 zmax=1000
 CMD="v.distance -p -a random to=random upload=dist"
 valgrind --tool=memcheck --leak-check=yes --show-reachable=yes $CMD
 }}}

 Given the [http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Libvector
 massive rewrite] of the vector engine in G7, I'll close this as wontfix
 for G6.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/14#comment:7>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list