User Control Panel
Advertisements

HELP US, HELP YOU!

Very Strange....Memory Usage issues.

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl
View unanswered posts
Author Message
Vorx
Senior Member
Senior Member


Joined: 21 Dec 2003
Posts: 152

Reputation: 32Reputation: 32Reputation: 32

PostPosted: Fri Jan 02, 2004 5:25 pm    Post subject: Reply with quote

Hi, I've noticed that my bot can suddenly eat loads of my RAM.

I have 512MB of RAM on my PC and after a little while it goes down to a few MB's, then when I exit the bot it suddenly shoots up to like 400MB free or something.

I don't know what's up but could someone help please?

#### EDIT #####

If it's of any help, I noticed I can sometimes get "deep recursion" or something similar on the DOS window when doing certain commands, and my chat command could be the cause of all this.... Below is my chat command, and please reply if you can clean it up or anything. I'm using MSN 1.3.1 (Keenie Update) and I'm using the Wiredbots template.

Thanks Smile

#### START CHAT COMMAND ####

Code:
<br />sub chat {<br />#if ($msg =~ /\/chat/i) == sub chat {<br />  #{<br />   if (!defined $chat) { <br />   $chat = $self;<br />   $chat->sendmsg("Starting Chatroom.",Font => "Tahoma",Color => '663300',Effect => "B");<br />   $chatters++;<br />   $self->sendmsg("Chat: $victim has started chat. $chatters in room\n");<br />   open (DATA, ">>logs/chat.txt");<br />   print DATA "Room created by $victim - " . localtime() . "\n\n";<br />   close(DATA);<br />   } else {<br />   $self->sendmsg("Joining Chatroom - Please wait.", "$victim",Font => "Tahoma",Color => '999900',Effect => "B");<br />   $chat->send("CAL", "$victim"); <br />          }<br />          }<br />          1;<br />


Also, the font and colours don't seem to work. :blink:

I appreciate any help Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group