Process using more memory than I physically have

by boris   Last Updated October 17, 2018 07:12 AM

I'm loading a 4GB csv in Python using pandas, and activity monitor says I'm using more RAM than I physically have in my laptop (15GB out of 8GB). How's this possible internally?

I need to download more RAM

Tags : macbook memory

Answers 1

This guy explains it well

So What is Virtual Memory?

Your Mac comes with a limited amount of physical memory (RAM) installed by default. Memory is critical to any computer to run applications and carry out all the operations commanded by the user. Memory must be as fast as possible (and it helps to have as much as possible) to maximise your Mac’s performance; thankfully, prices have drastically fallen in recent years. Nevertheless, every computer has a finite amount of memory so Mac OS X might actually need to use more than is physically available on your system.

This is where virtual memory comes in – you can think of it as a kind of extension to the real memory on your system, albeit much slower because it is in fact physical space on your hard disk (or SSD, if you have one installed). Let’s say that you have 4 GB of main memory on your Mac and a 512 GB hard disk. If Mac OS X needs to use all 4 GB of main memory, it can still make use of any free space on your hard disk as an extension to that memory. Unfortunately, virtual memory is much slower than the physical RAM installed in your computer, because hard disks cannot match the speed of memory chips.

November 28, 2014 14:56 PM

Related Questions

Why is Activity Monitor showing two different values

Updated October 24, 2017 21:12 PM

When will Finder use large amount of memory?

Updated August 20, 2017 14:12 PM