Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

Will deleting cookies free up room in my 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…

Become a Patron of Ask Leo! and go ad-free!

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.

Subscribe to Confident Computing! Tech problem solving & safety tips & a weekly confidence boost in your inbox every week.

I'll see you there!

10 Reasons Your Computer is Slow

Slow Computer?

Speed up with my special report: 10 Reasons Your Computer is Slow, now updated for Windows 10.

NOW: name your own price! You decide how much to pay -- and yes, that means you can get this report completely free if you so choose. Get your copy now!

9 comments on “Will deleting cookies free up room in my computer's memory?”

  1. Clear, concise, and accurate explanation. I hope that it gets a wide readership. I will send the link to all my newbie friends. One note: you can get the best of firewalls and antivirus with Computer Associates’ eTrust EZ Armor. I have the one year free trial lite version and it is really good. I was going to buy the full before the trial ended, but the person I spoke to at CA told me to use the whole trial. That is not the image of a greedy corporation. Armor’s firewall is ZoneAlarm, Nuf said.

    Reply
  2. Hi Leo,

    Aren’t you ignoring the fact that cookies are written as individual files? As such, each 100 to 200 byte cookie is really using the minimum allocation unit 32,768 bytes of your hard drive. 1000 of those cookies would really use up almost 33 million bytes of your hard drive – to me that’s a significant encroachment on my resources for something I didn’t give anybody permission to use.

    Reply
  3. Yes, I’ve had several people point out that tidbit that I completely overlooked. Most XP systems are formatted using NTFS, where the default allocation size is 512 bytes, so each cookie would take up at least that much. On FAT formatted drives the allocation units are typically larger, and the the space savings of deleting cookies can, indeed, be significant.

    Reply
  4. 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

    Reply
  5. 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

    Reply
  6. 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. http://www.ordercomputer.com

    Reply
  7. 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

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.