[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34431] pager consumes memory
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #34431] pager consumes memory |
Date: |
Mon, 03 Oct 2011 15:18:55 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 Iceweasel/5.0 |
Update of bug #34431 (project octave):
Status: None => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #4:
I don't think it was a leak in the sense that the memory was lost, but if you
ever buffered a lot of output, Octave was only seeking back to the beginning
of the buffer used for the pager reusing it. So you'd end up holding on to
and using the large buffer for the rest of the session even if you never
needed that much output buffer space again.
I checked in the following change as an attempt to avoid that problem. It
seems to work for me. While watching with top, I can generate a lot of output
and the memory use goes up, then when I interrupt and do something that sends
a smaller amount of data to the pager, Octave's memory use is lower than for
the first time with the large amount of data. So the memory use seems to be
better and I'm closing this report.
http://hg.savannah.gnu.org/hgweb/octave/rev/c053740eb2aa
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34431>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #34431] pager consumes memory,
John W. Eaton <=