Calculating size of output buffer...

Posted by Zeno on Fri 29 Dec 2006 09:44 PM — 4 posts, 11,767 views.

USA #0
Every time I want to open World Options, MUSHclient has to "Calculate size of output buffer". This takes literally 5 minutes to do, and MUSHclient freezes during this time. I have a large output length of course, but I still don't enjoy having to wait so long.

Is there anyway this could be changed? I know you changed the auto-complete by limiting it to the last recent lines. But I have no idea what MUSHclient is doing here or why.
Australia Forum Administrator #1
I will change it so that calculating the buffer size is an optional button, which displays a progress bar, which can be cancelled.
Australia Forum Administrator #2
Version 3.85 now defers the calculation, if there are more than 1000 lines in the output buffer. There is a button "Calculate" which, when clicked, initiates the calculation. This displays a "progress dialog" which can be cancelled if the calculation is taking too long.

My tests showed that for reasonably small buffers (eg. up to 200,000 lines) the calculation is almost instantaneous, however after that the calculation slows down dramatically.

This says to me that the amount of memory used in the larger cases is causing the output buffer to be written to the paging file, thus changing its speed of access from RAM access times to disk access times.

I suggest that if you are using such large buffers that the calculation takes 5 minutes, that you either:

  • Install more memory; or
  • Reduce the number of lines in the output buffer (say, to 200,000).

USA #3
Thanks.

I've got a gig of RAM, but I guess even that isn't enough.