GameMaker (2.0 - 2.2.x)

RAM Usage & Availability


You must be logged in to obtain assets


Simple RAM & Availability is an extension that allows you to get in real time the current total physical memory and the current available physical memory of the machine running your project. Will only work on Windows machines.


1 - Add a new Extension
2 - Right click and click Add File and add the included ramusage.dll
3 - Then double click on the added file and in the new window that opens up right click in the empty space to the right below where it says Functions: and click on Add Function.
4 - The first function name can be called whatever you want. The External Name must match either totalMemory or availableMemory.

If you are still unsure how to use this or how it works, refer to the example provided.

Usage Example:

draw_text(x, y, "Available RAM: " + string(dx_availableMemory()));
draw_text(x, y+20, "Total RAM: " + string(dx_totalMemory()));

End User Licence Agreement (EULA).

Age Rating: 12+


GMS2 - Version 1.0.0. Published May 4, 2019

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait