fmod ex version: 41505
designer version: 41503
using designer api
system is initialized with a fixed pool of memory (Memory_Initialize – 16mb). after all projects are loaded, memory usage is showing 3 – 4mb.
we have a streaming dialog bank, which sometimes spikes upto 5.5mb (based on FMOD_EVENT_WAVEBANKINFO). project is built with "stream from disk" and using mono sounds (mp3, 50%). total bank size is 7.5mb.
setStreamBufferSize is set to 32kb, tried also bigger values which seem to cause even more spiking.
after the dialog is played to the end, its data it released with freeEventData.
do you have any ideas why these spikes happen? i think that this usaually happens when the mem pool limit is being reached.
is there a way to "purge" this used memory, besides unloading a project?
- vesoljc asked 10 years ago
nope, since the bank contains only story line dialogs, all events have max playback set on 1.
i just recentlly added the streams info (current, num, max) to the banks, so that i’ll have a better overview on the streams if the mem spikes up again.
- vesoljc answered 10 years ago
Please login first to submit.