Re: memory use increasing while running, till...
- Posted by useless_ Dec 29, 2012
- 1117 views
mattlewis said...
useless_ said...
What happened to the leak in reverse() at line sequence.e:565 - t[uppr] = target[lowr]?
It's replace() that leaks the memory allocated by that line.
That doesn't sound right, that memory used in one procedure still exists to be used by another, when that second procedure may never be called. IIRC, i ran reverse() alone in the while loop and it wasn't a memory hog by itself, ditto running match_replace() by itself.
useless