|
shaun.murray Magician
Joined: 23 Jul 2005 Posts: 334 Location: Chicago
|
Posted: Thu Jun 12, 2008 5:36 pm
scrollback? |
what are the max sized scrollbacks that you can have on main window, and child windows? i've got mine set to 1000000000 for both child and main window. but... i'm SOOO very much not getting that many lines. its Preferences > Session > Scrollback right? makes it hard to work on script w/o bein able to scroll back... =[ tia!
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Jun 12, 2008 5:42 pm |
Well, I wouldn't get that extreme about setting it that high...try to keep within a 32-bit integer value for the number of lines. Like just 1000000 or so. Otherwise it's probably wrapping your number back into a 32-bit value. But CMUD itself doesn't limit this. The limit is really just the amount of memory that you have. CMUD will keep reserving new memory for new lines until it hits the scrollback limit, and once it has that number of lines allocated, it will keep using that memory. CMUD doesn't have many checks to see if you are running out of memory, so if you just let it keep increasing without limit, you'll probably cause CMUD to crash eventually.
So just set it to a reasonable number and you should be fine. I routinely have mine set at 10000 lines and that's a *lot* of MUD text. |
|
|
|
Fizban1216 Apprentice
Joined: 03 Feb 2007 Posts: 170
|
Posted: Thu Jun 12, 2008 5:53 pm |
The highest value seems to be 65,000,000 lines, not sure how you even set yours to 1,000,000,000 , as mine won't save any value I enter even that's over 65,000,000
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Jun 12, 2008 6:01 pm |
Yep Fizban, I believe you are correct about that limit. I think that was based upon some basic memory usage calculations to avoid people crashing windows. A line stores 2-bytes per character, plus some overhead. So a 60-character line is about 200 bytes or so. 65,000,000 * 200 = 1,300,000,000 bytes, which is about 1 GB. And when you get a single application taking up 1 GB of RAM, Windows starts to get unhappy. So I think it's a pretty good limit.
The other way to look at this is if you get a 10 screenfuls of text every second (which is a lot of text spam), and a screen is 30 lines, then that's 300 lines a second. So 65,000,000 lines gives you 216,666 seconds of data, or about 60 hours of text. And that should be more than enough! |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|