Memory Leaks

Joined
Jun 26, 2013
Messages
9
Reaction score
0
Points
1
Every couple days I get this message from my Mac Book Air that my startup disk is full. I don't usually download anything. 24 of the 59 gigs of space are files I put there. I try and delete a couple things (never enough to free up 10 gb) then restart my computer and check the disk space to find 10 gigabytes available. I did some research and found out that the problem might be memory leaks from one or more applications. The problem is I don't know how to determine which applications are leaking, and I don't know what to do once I find them. Can anyone help me?

Edit:
I looked up things about diskspace and memory. I from what I read, memory is the space used to store running programs. Certain actions (such as saving a file) can copy data from memory to permanent storgage. When I check the diskspace a majority of what is taking up space is the yellow "other" category. From what I understand the data from the memory leak could be being saved somewhere. I could be wrong though.
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,765
Reaction score
2,105
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Memory and storage are not the same. Memory leaks has nothing to do with running out of storage space.

10GB is really not enough for OS X to be happy. You should use Disk Inventory X to figure out what is hogging up all the space on your MBA and either move them to an external storage or delete it if you don't need it..
 

bobtomay

,
Retired Staff
Joined
Dec 22, 2006
Messages
26,561
Reaction score
677
Points
113
Location
Texas, where else?
Your Mac's Specs
15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
Could have nothing to do with memory leaks.
Could be sleep image file taking up several GBs.
Could be virtual memory taking up multiple GBs.
Running Windows in a virtual machine - there's some more virtual memory.

While I've not tried filling an SSD, feel pretty sure they can run and work acceptably on much less free space than a conventional drive. Still, 10 GB free space right after a clean boot - not enough.

How much is enough??? Depends on how much RAM you have, what apps you're running, and what you're doing in them... I have not tested SSDs to find that spot where it begins affecting the operation of the OS. Would think 15% should be plenty, I haven't allowed my only machine with a SSD under 40% free space yet, so I have nothing to report.

And if/once you figure out an app has a memory leak, the only thing you can do is stop using the app until such time as the developer fixes it. Personally, wouldn't even waste my time looking there. At least not while you only have 10GB free space to begin with.
 

pigoo3

Well-known member
Staff member
Admin
Joined
May 20, 2008
Messages
44,213
Reaction score
1,424
Points
113
Location
U.S.
Your Mac's Specs
2017 15" MBP, 16gig ram, 1TB SSD, OS 10.15
Every couple days I get this message from my Mac Book Air that my startup disk is full.

Could be that you're creating files, downloading videos, uploading large photos, etc....which fills whatever free space you have available.

OS X also needs a certain amount of free space to create "swap files" to run efficiently.

I try and delete a couple things then restart my computer and check the disk space to find 10 gigabytes available.

Yes...this is what should happen. If the HD is full...and you delete some files...then yes...a specific number of gigabytes of HD storage should be freed up. But then that 10 gigs could subsequently be filled with the possible activities mentioned above.

Also...operating with only 10 gigs of free space is not a very good idea. As mentioned above...Mac OS X needs a certain amount of free HD space to create swap files to work efficiently.

If you have a retina MacBook Pro with only a 128gig SSD...128gig is probably not enough for you. When we get questions from folks considering a retina MBP purchase...this is one of the things we usually address. Is 128gigs enough??

- Nick
 
OP
K
Joined
Jun 26, 2013
Messages
9
Reaction score
0
Points
1
Could be that you're creating files, downloading videos, uploading large photos, etc....which fills whatever free space you have available.

OS X also needs a certain amount of free space to create "swap files" to run efficiently.



Yes...this is what should happen. If the HD is full...and you delete some files...then yes...a specific number of gigabytes of HD storage should be freed up. But then that 10 gigs could subsequently be filled with the possible activities mentioned above.

Also...operating with only 10 gigs of free space is not a very good idea. As mentioned above...Mac OS X needs a certain amount of free HD space to create swap files to work efficiently.

If you have a retina MacBook Pro with only a 128gig SSD...128gig is probably not enough for you. When we get questions from folks considering a retina MBP purchase...this is one of the things we usually address. Is 128gigs enough??

- Nick

Thank you smart aleck. :) I don't download things regularly, and the files I create are all relatively small (50 mb and under) What I delete is never enough to free up 10gb, so the change happens when I restart the computer. I'm not sure why though, because I'm not sure why that 10gig always fills up in the first place.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top