#273: v.example leaks memory in db_open_select_cursor -----------------------+---------------------------------------------------- Reporter: karme | Owner: [email protected] Type: defect | Status: new Priority: major | Milestone: 6.4.0 Component: Database | Version: svn-trunk Resolution: | Keywords: Platform: Linux | Cpu: x86-32 -----------------------+---------------------------------------------------- Comment (by karme):
Replying to [comment:3 glynn]: > My inclination is to apply the patch. Unlike most GRASS memory "leaks", this one could be significant. I.e. if it leaks memory for each row fetched, it would impose a limit on the amount of data retrieved from a query. Well it does not leak memory for each row fetched, but for each query. But at the moment I am writing a v.out.osm that in the end does a query for each line => you run out of memory quickly. It would be really nice to get this fixed - maybe also in the stable branch? and maybe in debian/lenny? 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, ... -- Ticket URL: <http://trac.osgeo.org/grass/ticket/273#comment:4> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
