#14 - Memory Usage on the Raspberry Pi

In this µCast we cover the very basics of RAM usage on the Raspberry Pi and show you how to figure out how much memory your Pi is using at any given time and how to get some of it back.

Sample Code

The following chunks of code are just quick examples of how you can query memory information using Python or NodeJS. This code is not production ready as it does little to no error checking.

NodeJS Sample

Python Sample

What You'll Need

  • Raspberry Pi1

Share It

Could this help somebody else? Share it with them.