Currently used memory

When I enter a room in my game, I preload all the sounds, and I unload them when leaving. In order to reduce preloading/unloading, I’d like to check how much memory FMOD is using to store the preloaded samples and act only after a certain memory threshold has been reached.

Is there any field I can check to know much memory FMOD is using on preload?

If not, is there any way (exact or approximate) to get the amount of memory an instance takes, so that I can keep the memory usage myself ?


You can record a profiler session using Live Update. The recorded session will contain all the CPU and memory information for each individual event, bus, and the project as a whole.

Hi Richard, thanks for your answer.

I meant to use in production, when the game is running in the player’s machine.