[GRASS-dev] [GRASS GIS] #2045: r.to.vect: use less memory

#2045: r.to.vect: use less memory
--------------------------+-------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.0.5
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.to.vect
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by mmetz):

Replying to [comment:11 mmetz]:
>
> The module already writes out a boundary as soon as it has been
completed and attempts to free memory used to track this boundary.

The attempt was unsuccessful, also for lines, fixed in r68716. According
to valgrind, I do not see any more memory leaks in r.to.vect, and all
memory used in the extraction part is freed before topology building
begins. Please test, preferably with `r.to.vect -b`.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2045#comment:12&gt;
GRASS GIS <https://grass.osgeo.org>