Greetings, fellow monks.

I'm developing an IRC Bot with Perl and Net::IRC that runs on my personal machine (Windows 2000 Professional, ActivePerl 5.8.0) and I've detected a somewhat odd problem:

When I play an on-line game like Wolfenstein: Enemy Territory the memory usage of wperl.exe jumps from 7.7 Mb to 10.0 Mb and never drops again, unless I kill the bot and start it again.

<UPDATE>
Funny thing: if I play the game again there is no more growth in the memory usage, it stays at 10.0 Mb...
</UPDATE>

I use the standard connection sub of Net::IRC and I have a sub that detects if the bot's IRC connection drops and it's not happening...

Are there any theoretical possibilities for this problem?
Are there any modules that can help me find out the cause for this problem?

I've already been told to use POE::Component::IRC instead of Net::IRC, but it's way above my capabilities, so please keep in mind that this is not an option for me.

Thanks in advance for the enlightment, brothers and sisters.

my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");

In reply to Reasons for memory growth on Win32 IRC Bot app by DaWolf

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.