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.
Steps:
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).