Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apple scitech] Real v. Virtual Memory Footprint



At 6:12 PM -0600 11/30/07, Brendan Younger wrote:
On Nov 30, 2007, at 6:03 PM, Kenneth Prager wrote:

I understand the virtual memory operation but I don't get why the virtual memory footprint, for a given application, grows (seemingly without bound) over time. I can't be the only one seeing their system go from one to many swap files over a few days time. The reduction in performance is annoying.

Regards,

Ken Prager

Sounds like a memory leak. If so, garbage collection should help, but it's only enabled for applications which specifically request it.


A good way to check if applications are leaking is to run leaks on it (man leaks). It may not show all the leaks, especially if the application is Carbon one which uses NewHandle(), but it does a pretty good job. If an application is leaking too much memory, you might be able to convince the developer to do something about it with the output of "leaks".

Thanks for the info on leaks.

BTW, from my experience, the worst offenders are...

1) Microsoft Word and PowerPoint (no surprise there)
2) Matlab
3) Safari (version 3)
4) Dashboard Widgets

The best at freeing up resources when done with them is BBEdit (also no surprise there).

Regards,

Ken P.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Scitech mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/scitech/email@hidden

This email sent to email@hidden
References: 
 >[apple scitech] Real v. Virtual Memory Footprint (From: Kenneth Prager <email@hidden>)
 >Re: [apple scitech] Real v. Virtual Memory Footprint (From: Rich Cook <email@hidden>)
 >Re: [apple scitech] Real v. Virtual Memory Footprint (From: Kenneth Prager <email@hidden>)
 >Re: [apple scitech] Real v. Virtual Memory Footprint (From: Brendan Younger <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.