Re: memory use increasing while running, till...

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu