|
Joined: Aug 2005
Posts: 31
Ameglian cow
|
OP
Ameglian cow
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.
|
|
|
|
Joined: Dec 2002
Posts: 503
Fjord artisan
|
Fjord artisan
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.
|
|
|
|
Joined: Dec 2002
Posts: 2,033
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,033 |
30,000 whew .. you don't like to miss anything do you.
|
|
|
|
Joined: Jan 2004
Posts: 509
Fjord artisan
|
Fjord artisan
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.
|
|
|
|
Joined: Dec 2002
Posts: 2,962
Hoopy frood
|
Hoopy frood
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.
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
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
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
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"
|
|
|
|
Joined: Aug 2005
Posts: 31
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2005
Posts: 31 |
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.
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
How large is your buffer? (Alt-O > Other)
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Aug 2005
Posts: 31
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2005
Posts: 31 |
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
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
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
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"
|
|
|
|
Joined: Jan 2004
Posts: 509
Fjord artisan
|
Fjord artisan
Joined: Jan 2004
Posts: 509 |
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.
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
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
|
|
|
|
Joined: Aug 2005
Posts: 31
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2005
Posts: 31 |
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.
|
|
|
|
Joined: Jan 2004
Posts: 509
Fjord artisan
|
Fjord artisan
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
|
|
|
|
Joined: Dec 2002
Posts: 2,033
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,033 |
What the hell are you going on about?
|
|
|
|
Joined: Jan 2004
Posts: 509
Fjord artisan
|
Fjord artisan
Joined: Jan 2004
Posts: 509 |
Using < 18,000 K memory usage. That whole line was my point. The rest were stuff describing my mIRC's energy.
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
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
|
|
|
|
|