Introduction
Monitoring memory usage helps you see how much computer memory your numpy arrays use. This keeps your programs fast and avoids crashes.
You want to check how much memory a numpy array takes before running big calculations.
You need to optimize your program to use less memory.
You want to compare memory use of different numpy arrays.
You are debugging a program that runs out of memory.
You want to learn how numpy stores data in memory.