mIRC Home    About    Download    Register    News    Help

Print Thread
#194177 30/01/08 10:14 PM
Joined: Aug 2005
Posts: 31
C
Caveman Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Aug 2005
Posts: 31
Hi, I was wondering what is the typical memory usage for mIRC? I'm currently running mIRC 6.31 with no addon scripts and my memory usage is around 50MB. I know this isn't a lot now'n'days however it seems rather high to me. Could someone verify whether this is normal please?

Many thanks,

Caveman.

Caveman #194179 30/01/08 10:31 PM
Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Windows XP SP2, mIRC 6.31, 11 script files (using approx. 6-7 hash tables (total)), scroll-back buffer of 30,000 lines, 40 channel windows open, 54MB memory usage.

Bekar #194183 30/01/08 10:51 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

30,000 whew .. you don't like to miss anything do you.

Caveman #194185 30/01/08 10:53 PM
Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
I note that my task manaer usually at a minimum says using 252 MB of 1225 MB or something.

But if I'm at around 600 MB, the computer slows down bad.

So I have to be considerabely less than half of what I can use.

Usually when I open mIRC, it has less MB usage than IE, but can catch up.

And this could constantly be solved by closing finished p.m. windows and doing the /clear.

Caveman #194191 30/01/08 11:37 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
My mIRC usage is about 10MB right now. But I'm only on a handful of channels on a couple of servers, with a few small scripts (mostly just aliases, nothing working with large amounts of data), and no DLLs loaded.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Caveman #194192 30/01/08 11:47 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I run 2 mIRCs. One with just a trivia/protection bot with a few additional scripts of mine (weather, dictionary, search). It runs at 2.8MB with a 5000 buffer. The second runs Invision, with around 239 open hash tables as well as a lot of other scripts of mine. It runs at about 10.6MB with a 3000 buffer.

The buffer is a big part of memory usage and unless you need it really high, 5k or less will reduce memory usage a lot. This is especially true if you're on many channels as your buffer usage is per channel.

Note that this is on Vista 32bit, but I think it was similar on XP.



Invision Support
#Invision on irc.irchighway.net
Caveman #194201 31/01/08 12:51 AM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
8mb with 6 scripts loaded but only 401 lines of code here.

Do you have any dlls loaded? How many channels are you on? Do you reload logs from the buffers? How long has mIRC been on for?

In addition to answering the above questions. report the results of: //echo -a $duration($uptime) $dll(0) $com(0) $scid(0)


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
argv0 #194213 31/01/08 08:55 AM
Joined: Aug 2005
Posts: 31
C
Caveman Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Aug 2005
Posts: 31
Originally Posted By: argv0
8mb with 6 scripts loaded but only 401 lines of code here.

Do you have any dlls loaded? How many channels are you on? Do you reload logs from the buffers? How long has mIRC been on for?

In addition to answering the above questions. report the results of: //echo -a $duration($uptime) $dll(0) $com(0) $scid(0)


I think I have a few DLLs loaded. Yes I do reload logs, I'm on 5servers with a total of 15channels.

This is what the echo says;

1day 29mins 12secs 0 0 5

Last edited by Caveman; 31/01/08 08:58 AM.
Caveman #194220 31/01/08 03:05 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
How large is your buffer? (Alt-O > Other)


Invision Support
#Invision on irc.irchighway.net
Riamus2 #194230 31/01/08 06:01 PM
Joined: Aug 2005
Posts: 31
C
Caveman Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Aug 2005
Posts: 31
30k

Caveman #194244 31/01/08 09:20 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
LOL! And you're wondering why it's 50MB?

30,000 lines per channel * 15 channels = 450,000 lines it has to keep in memory.

If you figure 50 characters per line average, that's 22.5MB right there without any scripts loaded. And you may have more that 50 characters per line average.

Unless you really need such a large buffer, you should drop it to 5k or less. Your memory usage will drop significantly.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #194249 31/01/08 10:02 PM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
And with the client being on for a day with logs being reloaded from where they left off, its very plausible that most of the buffers are full of data, so yea, your memory footprint makes total sense there.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
LostShadow #194254 31/01/08 11:22 PM
Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Originally Posted By: LostShadow
And this could constantly be solved by closing finished p.m. windows and doing the /clear.


My advice still stands.

If you auto-log all channels, then you have absolutely no worry in doing the /clear.

LostShadow #194260 01/02/08 02:06 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
/clear isn't really going to be any use. Reducing buffer size would solve it without having to completely erase everything in the window(s).


Invision Support
#Invision on irc.irchighway.net
Riamus2 #194266 01/02/08 08:02 AM
Joined: Aug 2005
Posts: 31
C
Caveman Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Aug 2005
Posts: 31
Originally Posted By: Riamus2
LOL! And you're wondering why it's 50MB?

30,000 lines per channel * 15 channels = 450,000 lines it has to keep in memory.

If you figure 50 characters per line average, that's 22.5MB right there without any scripts loaded. And you may have more that 50 characters per line average.

Unless you really need such a large buffer, you should drop it to 5k or less. Your memory usage will drop significantly.


That is why I made this thread, I wasn't too sure whether it was normal or not.

Thanks for you advice and assistance.

Riamus2 #194293 01/02/08 07:38 PM
Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Well in that case a /clear in every channel on every network.

Using < 18,000 K memory usage.

31 channels, 6 networks connected.

10,000 max limit for buffer.

Has a total of 21 scripts containing 8,379 lines of code, worth 414.68KB (average 51 chars/line). The first script was made 79w1d5h26m ago (cussword.txt), and every 1hr 35mins 14secs a line is written at 0.5words per minute!

•••••••••• Remote(s) ••••••••••
Total Remotes = 21 file(s)
Total Line(s) = 8379 line(s)
Total Size = 414.68 kb
Total Event(s) = 157
Ave. Line(s) = 399 line(s)
Ave. Size = 19.75 kb
•••••••••• Alias(es) ••••••••••
Total Alias(es) = 12 file(s)
Total Line(s) = 11213 line(s)
Total Size = 826.64 kb
Total Global Alias(es) = 66
Total Local Alias(es) = 27
Ave. Line(s) = 934 line(s)
Ave. Size = 68.89 kb

LostShadow #194299 01/02/08 08:30 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

What the hell are you going on about?

LostShadow #194301 01/02/08 09:15 PM
Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Originally Posted By: LostShadow
Using < 18,000 K memory usage.


That whole line was my point.

The rest were stuff describing my mIRC's energy.

LostShadow #194303 01/02/08 09:22 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
And as I stated, there is no good reason to use /clear like that. Limiting the buffer down from 30k is a much better solution. People who want a large buffer are people who want to see what has happened in a channel. They're much more likely to not mind a smaller buffer than they are to want to completely remove everything from their channels (aka buffer 0).


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard