On Mon, 16 Feb 2015 13:31:28 +0100, André Sintzoff wrote: > 2015-02-16 11:26 GMT+01:00 André Sintzoff <andre.sintz...@gmail.com>: > > When using the File History / Annotate view (using the context menu > > item in the workbench), the memory used by thgw.exe process is > > increasing rapidly (about 100 kB/s on a i5-4300M and about 400 kB/s on > > an i7-3770). > > > > Hopefully, this issue seems to not occur when using Revision History > > in Windows Explorer. > > > > Any idea? > > According to hg bisect, > 2b5b338a9f0e annotate: fetch line information by command (fixes unsafe > thread access) > > could have introduce the issue.
Probably the console log burst because of unexpected pickle output. Can you test with the following (incorrect) patch? diff --git a/tortoisehg/hgqt/cmdcore.py b/tortoisehg/hgqt/cmdcore.py --- a/tortoisehg/hgqt/cmdcore.py +++ b/tortoisehg/hgqt/cmdcore.py @@ -477,7 +491,7 @@ class CmdServer(CmdWorker): self._writeBlock(data[start:start + size]) _idlechtable = { - 'o': _processOutput, + #'o': _processOutput, 'e': _processOutput, } It appears that QProcess does never discard its write buffer. So it can write the previous "runcommand" request when the server process is restarted. As a result, the output of the last "runcommand" does not captured, and sent to the console. Regards, ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop