Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: make perl release memory

by smalhotra (Scribe)
on Jul 23, 2003 at 12:42 UTC ( #277119=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: make perl release memory
in thread make perl release memory

Bill,
I think it's fitting to mention when you say that 25Mb is not that bad that Milkbone (I'm assuming that's what you're talking about) is an instant messenger app. I remember before you re-tuned it, the memory usage was close to 100Mb. When I'd compare it to AIM/Yahoo/MSN, each of those used under 10Mb. And usually my AIM is only at about5-6Mb. Compared to that, the 25Mb footprint of Milkbone did seem like a lot.
<aside>Anyways, I hope things have been well. Sorry I haven't kept up with *Mercury*, maybe I'll look at it when I get back to school.</aside>

$will->code for @food or $$;


Comment on Re: Re: Re: make perl release memory
Download Code
Re: Re: Re: Re: make perl release memory
by Elian (Parson) on Jul 23, 2003 at 12:47 UTC
    Sheesh, that's enough to make me put on the Grumpy Old Guy hat. An IM app ought to weigh in at less than a 1M memory footprint, exclusive of logs. (Though if you have more than 100-200K of log data you may need to get out more :)
      I'm quite young but I remember when I first got online, we would use "talk" for all instant messaging. Need to know who's online? Use finger. Need multiple chat windows? Open a new shell. Need to send a file? Use email. Need to alert all your buddies when you went online? "write" to all them. It had all the features of any modern IM app even to the point that each character showed up as you typed! We still don't have that in the "new" apps. Blah, gimme *nix or gimme death.

      $will->code for @food or $$;

      I wholeheartedly agree. I'd _love_ to get milkbone's memory usage under 1 meg. Even under 10 megs would be better. I'm just not sure how to go about doing this. Even a simple Tk script that just displays a window uses 5.2 meg on my Win2K box. The numbers in Linux are similarly frightening.

      So if anyone has any tips on how to go about making Tk use less memory, please reply here or /msg me. It would help immensely. Or, if you've got a spare minute, pick up the milkbone source (milkbone.org) and let me know if there's anything majorly wrong with the way it works. I'm afraid, though, that this is an inevitable consequence of using Tk. Thanks, Bill


      milkbone - perl/tk instant messaging - it's the only way to fly

      You know anyone who'll debug two million lines of code for what I get this job?
      - Dennis Nedry

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://277119]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2014-09-17 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (56 votes), past polls