Mac OS X Leopard, Memory, and helpdatad

pudge on 2007-11-02T02:09:37

So my memory usage in Leopard is WAY down. I have Safari, DragThing, SSHKeychain, perl daemons, MySQL, Apache, MacCvsX, Eudora, BBEdit, iChat, Terminal ... a lot of things running. Before this would put me into swap. Now, it does not. Not even close: with 2GB total, I have about 700MB unused.

It's ... just wow. HUGE performance increases in Leopard for me, just by not going into swap. I think some memory leak was fixed, or something. I dunno. But I like.

The biggest new memory pig is "helpdatad." Open Activity Monitor, sort by RSIZE, go into the Help menu of Activity Monitor, type into the new "Search" field, hit return, and watch helpdatad climb to the top. 180MB without breaking a sweat.

I killed the process and vowed to never type into that field again.


Stop it!

Matts on 2007-11-02T02:49:09

Gah. I'm sorely tempted. I'm honestly just waiting for Camelbones to get updated and then I'll upgrade. But I'm still holding off spending that $150...

Re:Stop it!

sigzero on 2007-11-02T11:25:05

I am just waiting a bit to see if any bugs are flushed out. Then I jump!

What about Perl?

Alias on 2007-11-02T04:17:16

So, being the King of all things both Perl and Mac, tell me/us about your opinions of Perl in the new version. Are we finally on 5.8.8? Have they unbroken any of the broken stuff from Tiger?

Re:What about Perl?

pudge on 2007-11-02T06:46:56

Perl is 5.8.8. Apart from that, beats me. I don't use the system perl. :-)

not seeing it

tf23 on 2007-11-07T04:15:33

You can dump sshkeychain. Leopard's got it's own now. (hint: sskc prefs, turn off it's environmental var creation, remove it from login-startup and logout and back in).

I tried your example with helpdatad. I'm just not seeing it eat up the memory like that.

But I too noticed the sweet difference in speed. I'm using a first-gen MBP 15" w/ 2GB ram and a dual G5 2Ghz w/ 3GB.

Re:not seeing it

pudge on 2007-11-07T07:11:17

I am not seeing it all the time. Just sometimes.

Re:not seeing it

pudge on 2007-11-08T18:03:17

Neat. I don't understand exactly how the ssh agent thing works though, which scares me. But I think I get the gist of it.

your LAMP setup

tf23 on 2007-11-15T18:48:53

You mentioned perl, apache, etc. How'd you build your setup? Which Xcode do you have installed 3.0 or 2.5 or both?

I'm seeing all sorts of weirdness w/ this upgraded 10.4 to 10.5 laptop (I have XCode 3,2.5, and used stock perl... ya, I know, I shouldn't have). make on slashcode dies terribly. I'm guessing I need to do a fresh install and swipe the /System/Library/Perl from it, and then go with all my LAMP devel stuff in /usr/local.

Re:your LAMP setup

pudge on 2007-11-15T19:15:33

You mentioned perl, apache, etc. How'd you build your setup? Which Xcode do you have installed 3.0 or 2.5 or both?

I'm seeing all sorts of weirdness w/ this upgraded 10.4 to 10.5 laptop (I have XCode 3,2.5, and used stock perl... ya, I know, I shouldn't have). make on slashcode dies terribly. I'm guessing I need to do a fresh install and swipe the /System/Library/Perl from it, and then go with all my LAMP devel stuff in /usr/local.
I build all my own stuff (except MySQL, where I get a binary from mysql.com) and put it in /usr/local/. I don't use any stock stuff, except for the build tools from Xcode. It's been so long since I built this I am not sure what I used, probably gcc 3.