Helping people with computers... one answer at a time.

Deleting cookies will clear up a little disk space, and may or may not actually free up a small amount of your computer's memory.

Will deleting cookies free up room in my computer's memory?

Yes, no, and maybe.

Yes, deleting cookies will free up room. No, not very much. And only maybe, depending on what you mean by memory.

Clear as mud? Let me explain...

The term "memory" is typically used to refer to your computer's RAM, or Random Access Memory. That's the memory that gets erased when you turn off your machine - it's typically made up of transistors that require power to keep whatever's stored. When you reboot your machine, for example, most that process is about loading the operating system into RAM. When you run a program, it is loaded into RAM. Common recommended sizes these days for RAM is anywhere from 128 megabytes (128 million bytes) to a couple of gigabytes (2 billion bytes).

Deleting cookies does not free up RAM. (*).

Sometimes people will refer to the hard drive as "memory" but while technically it's correct - sort of - it's not really the right term. Most folks refer to the hard drive as, well, the "hard drive" or "disk drive". Hard drives are platters of (hard) magnetic media that don't need power to retain information, though they of course need power to be written to and read from. Typical hard drives range in size these days from 40 to 250 gigabytes (40 to 250 billion bytes).

Cookies are stored on your hard drive. So when you delete cookies, you are freeing up space on your hard drive.

But ... cookies are small. Certainly in comparison to your hard drive size a single cookie might be 100 or 200 bytes. Even cleaning up 1,000 of those only recovers 100,000 bytes, or less than one thousandth of one percent of your hard drive space.

Security and privacy may be reasons to delete cookies, but space isn't.

(*): OK, technically a browser such as internet explorer might use a little memory for each cookie, so fewer cookies might mean that IE might use a little less RAM. Why all the mights? Because it's not something you can count on; it's an implementation detail within the browser that could change, or could be handled differently by another browser. Bottom line: don't worry about it.

Update: Since this article was published, I've had several people point out something that I completely overlooked. Most XP systems are formatted using NTFS, where the default allocation size is 512 bytes That means every file, including each cookie, would take up a minimum of 512 bytes. In addition NTFS can be formatted with larger allocation sizes, and on FAT formatted drives the allocation units are in fact typically larger. So the bottom line is that depending on the number of cookies, and the allocation size of the drive your cookies are stored on, deleting cookies can indeed free up some significant space.

Article C2155 - August 14, 2004

Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
9 Comments

As listed above, this article covers that: http://ask-leo.com/how_do_i_delete_cookies_and_just_what_are_cookies_anyway.html

Posted by: Leo at February 28, 2005 12:45 PM

My internet explorer will not work. It says it cannot find server. what is wrong? what can i do to fix it? Please respond. Thank you

Posted by: samantha wix at August 21, 2007 6:18 PM

i want to delete my cookies but which ones r safe to do so do u need to keep any of them for your computer n internet to work my disc space is low i need to free some space how do i do this

Posted by: mary at April 23, 2008 3:53 AM

First you need to find out the unwanted files and obsolete programs in your computer and then delete it . Clear your browser history each day if you are using internet. One best software I use which has one click cleanup is CCleaner. Also don't forget to empty your recycle bin regularly. www.ordercomputer.com

Posted by: Shakti at April 30, 2010 1:22 AM

hi ,i run ,spyhunter.com which i consider to be an excellent anti spy/malware program,( it was the only thing that got rid of the serurity tool virus which rendered my laptop totally useless)
when i run spyhunter now it only seems to throw up "cookies" problems, tracking cookies spyware etc,what would happen if i turned cookies off- you can the off ?? thanks don

Turning cookies off completely will make some websites you visit not work, others will keep requiring you to login in repeatedly, and in general browsing the internet will become a pain. Cookies are important, and many anti-spyware programs are unreasonably obnoxious when it comes to cookies. More here: What are tracking cookies and should they concern me?
Leo
15-Jan-2011

Posted by: don rees at January 14, 2011 9:43 PM
Post a comment on "Will deleting cookies free up room in my computer's memory?":





Remember Me?

(You may use HTML tags for style)

Before commenting, please...

  • READ THE ARTICLE. A comment that shows you didn't will be deleted and ignored.

  • Comment only on the article. Use the search box at the top of the page if you have a question about something else.

  • NO PERSONAL INFORMATION in the comment. No email addresses. No phone numbers. No physical addresses.

  • Anything that looks the least bit like spam will be deleted. Links to unrelated sites or links that appear to be primarily promotional will be deleted, or the comment will be deleted.

  • Don't ask me to recover lost passwords or hacked accounts. I can't. Those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...