mIRC Home    About    Download    Register    News    Help

Print Thread
Window buffer X lines #249506 01/12/14 05:29 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Hello,

I wanna ask if it is possible to add more than '50000' value on this option in Options -> Other -> Window buffer X lines something like unlimited ? or an much higher value?

- Thanks!

Re: Window buffer X lines [Re: westor] #249950 24/12/14 01:06 AM
Joined: Feb 2003
Posts: 2,689
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,689
Yes. Up to at least 10 million lines. If you go much higher then mIRC will exceed its 2GB ram limitation.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: Window buffer X lines [Re: Raccoon] #249964 24/12/14 01:00 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
On the setting option i mean, because when i change this above 50000 it reset back to default.

Re: Window buffer X lines [Re: westor] #249967 24/12/14 09:05 PM
Joined: Nov 2014
Posts: 149
J
JuanAm Offline
Vogon poet
Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
I the same happens that westor, not allow me more than 50000 lines.

Re: Window buffer X lines [Re: JuanAm] #249970 24/12/14 10:43 PM
Joined: Feb 2003
Posts: 2,689
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,689
I haven't tested, but it may be possible to edit a larger value into mirc.ini

I agree, users should be allowed to increase this value from the settings dialog. I use 1 million line buffers in custom @windows with several of my log grepping scripts. I just wouldn't recommend having more than 10 or 15 of these large windows open.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: Window buffer X lines [Re: Raccoon] #249981 26/12/14 03:20 PM
Joined: Dec 2008
Posts: 1,511
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Why not making unlimited? smile

Re: Window buffer X lines [Re: westor] #249982 26/12/14 04:06 PM
Joined: Feb 2003
Posts: 2,689
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,689
Because then people who join 50 channels (I'm in 200 channels) will find that mIRC crashes after a week or few.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: Window buffer X lines [Re: westor] #249984 26/12/14 04:48 PM
Joined: Jul 2006
Posts: 3,702
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,702
Before, 50000 was the limit. It recently has been extended for custom windows (intentionally, I hope), using -jN you can specify a number such as 10 millions and that will work. However note that getting a custom windows with 10 millions lines (I made the test) will make mIRC takes a lot of memory. depending on your configuration, mIRC can occupy a maximum of 2GB or 4GB of ram ( read ) . If you reach this maximum, you'll get one of these errors:
Quote:
* Error allocating command memory
* Error allocating token memory
* /cmd: error allocating memory
Meaning mIRC can no longer allocate memory and it's tricky for an application to stay alive after getting an error regarding memory allocation, so be careful. In my test, I wasn't able to close/reboot mIRC properly, it would stay in memory after closing it (although the UI disappeared), /run mspaint wouldn't work either.


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: Window buffer X lines [Re: Wims] #249986 27/12/14 07:09 AM
Joined: Feb 2003
Posts: 2,689
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,689
2GB is the max, regardless of operating system or hardware. mIRC is not large address space aware, so 2GB is a hard limit.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!