[GRASS-dev] Re: [GRASS GIS] #273: v.example leaks memory in
db_open_select_cursor
GRASS GIS
trac at osgeo.org
Wed Sep 3 21:00:41 EDT 2008
#273: v.example leaks memory in db_open_select_cursor
-----------------------+----------------------------------------------------
Reporter: karme | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Database | Version: svn-trunk
Resolution: | Keywords:
Platform: Linux | Cpu: x86-32
-----------------------+----------------------------------------------------
Comment (by glynn):
Replying to [comment:4 karme]:
> A quick grep for db_open_select_cursor gives many hits and some of them
are in a inner loop. For example: v.out.ogr (in mk_att), d.vect (attr.c),
v.label, ...
These modules should probably be making a single SELECT statement and
storing the results in a btree (or similar), rather than executing a
separate query for each line.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/273#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list