Thursday , April 2 2020
Home / Windows / What is difference between Virtual memory and Cache memory

What is difference between Virtual memory and Cache memory

What is difference between Virtual memory and Cache memory

In the world of computers, memory sets the limit upon which we base if we can run that program or not. If we are unlucky enough to have experienced DOS, then you know the bane (causes trouble) of the 640k memory limit. Nowadays memory seems to be almost infinite and nobody actually gets the ‘not enough memory’ messages of ester-year.

Read:- What is Virtual Memory

It is a very smart memory management procedure. By placing some parts that should be in memory inside your hard-disk they can extend the memory capacity of a computer way beyond what is installed; this is called virtual memory. So let’s say that your computer only has 1GB of memory and you launch a few programs whose total memory consumption is at around 1.5GB. Without virtual memory, you are not allowed to do that. But with virtual memory, the operating system assigns a portion of the hard-disk as a part of memory and keeps the data there.

So in the above example let’s say that the virtual memory is also 1GB. 1GB actual memory + 1GB virtual memory = 2GB system memory. That way even though your memory is limited you can still use memory extensive applications. There is a disadvantage to virtual memory though. Reading data from a hard disk is substantially slower than reading from memory. So the more information that is stored in your hard-disk the slower your system becomes making it seem sluggish (working more slowly than normal and in a way that seems lazy).

What is difference between Virtual memory and Cache memory

Cache memory on the other hand doesn’t extend the amount of memory you have, it merely lessens (smaller) the amount of time needed to access data. So that you can understand the concept easily, let’s say that the processor is a student doing a report. Whenever he needs data he goes to the bookshelf (the bookshelf being the memory, and the books are the data) and takes out a book and brings it back to his chair. He reads it then he returns it to the bookshelf before continuing with his report. If you were the student it would really be time consuming if you have to stand up and get a book every time you need a piece of data. Practically a student would get a few books from the bookshelf and place it on the table.

So that if he needs information that is in the book that he recently used, it is just within arms reach and he doesn’t have to stand and walk to get it. In this metaphor (a way that is different from its normal use) the table is our cache memory. Whenever the processor uses data it puts the most recent data it used in cache memory for quick access in case it is needed again. Cache memory is very limited though, just like a table having limited space, so data that was not accessed the longest gets returned to memory in order to free up the cache for more recent data.

What is difference between Virtual memory and Cache memory I hope that you understand my post. if you like this post then share my post, and comment on my post if you have any suggestion or Queries related to Virtual Memory or Cache Memory. Thank you!

Check Also

How to install mac os in virtual box

How to install mac os in virtual box macOS first came out in 2001, and …


  1. Have you ever considered about adding a little bit more than just your articles? I mean, what you say is fundamental and everything. However imagine if you added some great photos or videos to give your posts more, “pop”! Your content is excellent but with pics and clips, this site could undeniably be one of the very best in its niche. Amazing blog!

  2. I went over this site and I believe you have a lot of great info, saved to fav (:.

  3. Heya i am for the first time here. I found this board and I find It truly useful & it helped me out
    much. I hope to give something back and help others like you aided me.

  4. Nice replies in return of this difficulty with firm arguments and explaining everything regarding that.

  5. I constantly emailed this blog post page to all my contacts, as
    if like to read it after that my contacts will too.

  6. Hey! Quick question that’s completely off topic. Do you know how to make your site mobile friendly?
    My web site looks weird when viewing from
    my iphone4. I’m trying to find a template or plugin that might be able
    to resolve this problem. If you have any recommendations, please share.
    Thank you!

  7. I constantly emailed this web site post page to all my friends, since if
    like to read it then my contacts will too.

  8. Hi there! I could have sworn I’ve visited this website before but after going through some
    of the posts I realized it’s new to me. Nonetheless, I’m definitely pleased I came across it
    and I’ll be book-marking it and checking back regularly!

  9. Thankfulness to my father who shared with me on the topic of this weblog, this web site is really

  10. Appreciate the recommendation. Let me try it out.

  11. I’ve been browsing online more than 4 hours today, yet I never found any interesting article like yours.

    It is pretty worth enough for me. In my view, if all site owners
    and bloggers made good content as you did, the net will be a lot more useful than ever before.

  12. Realized a lot. Easy to understand. Thanks for sharing with us 🙂

  13. Very good info in this post. I’ll get into carrying out more of some of this. Thanks for the info.

  14. It’s great that you are getting thoughts from this paragraph as well as from our
    argument made at this time.

  15. Very quickly this site will be famous amid all blogging
    people, due to it’s good articles

  16. Appreciating the time and effort you put into your blog and detailed information you offer.
    It’s good to come across a blog every once in a while that isn’t the same out of date
    rehashed material. Fantastic read! I’ve saved your site and I’m
    adding your RSS feeds to my Google account.

  17. Having read this I thought it was really enlightening.
    I appreciate you taking the time and energy to put this information together.
    I once again find myself personally spending a lot of time
    both reading and posting comments. But so what, it was still worthwhile!

  18. Please let me know if you’re looking for a author for your blog.

    You have some really great posts and I feel I would be a good
    asset. If you ever want to take some of the load off,
    I’d absolutely love to write some articles for your blog in exchange for a link back
    to mine. Please shoot me an e-mail if interested. Regards!

  19. Hello, this weekend is pleasant designed for
    me, since this point in time i am reading this great informative piece of writing here at my house.

  20. Sweet blog! I found it while surfing around on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!
    Appreciate it

  21. Someone necessarily help to make critically posts I would state.
    That is the very first time I frequented your website page and so
    far? I surprised with the research you made to create this particular submit amazing.

    Great task!

  22. Having read this I believed it was rather enlightening.

    I appreciate you taking the time and effort to put this informative article together.
    I once again find myself spending a lot of time both reading and commenting.
    But so what, it was still worthwhile!

  23. Hello, its nice paragraph on the topic of media print, we all
    be aware of media is a wonderful source of facts.

  24. Hi! Would you mind if I share your blog with my myspace group?
    There’s a lot of people that I think would really appreciate your content.

    Please let me know. Thanks

  25. Wow, fantastic blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of your website is
    magnificent, let alone the content!

  26. I’ve been surfing online more than 3 hours today,
    yet I never found any interesting article like yours. It is pretty worth enough for me.
    Personally, if all web owners and bloggers made good content as you did, the
    web will be a lot more useful than ever before.

  27. I visited various sites but the audio feature for audio songs present at this web
    page is actually wonderful.

  28. You are so cool! I do not believe I’ve truly read anything like that
    before. So great to find someone with some original thoughts on this subject
    matter. Really.. thank you for starting this up. This web site is something that is needed on the internet, someone with a little originality!

  29. Simply desire to say your article is as astonishing.
    The clarity in your post is simply nice and i could assume you’re an expert on this subject.

    Fine with your permission allow me to grab your feed to keep updated with forthcoming post.
    Thanks a million and please keep up the enjoyable work.

  30. What a data of un-ambiguity and preserveness of valuable know-how about unexpected emotions.

  31. There is certainly a lot to find out about this subject.
    I really like all of the points you’ve made.

  32. I was suggested this website by my cousin. I’m not sure whether this post is written by him as nobody else know such detailed
    about my problem. You are incredible! Thanks!

  33. Excellent way of telling, and fastidious article to get data concerning
    my presentation topic, which i am going to present in institution of higher education.

  34. Way cool! Some extremely valid points! I appreciate you writing
    this article and also the rest of the website is really good.

  35. You ought to take part in a contest for one of the greatest blogs online.
    I am going to recommend this site!

Leave a Reply

Your email address will not be published. Required fields are marked *