0
0

fmod ex version: 41505
designer version: 41503
plat: win32
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?

  • You must to post comments
0
0

What is your max playbacks on the event. If it is bigger than 1 it will try to create the stream multiple times so you can play it that many times at once.

  • You must to post comments
0
0

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.

  • You must to post comments
0
0

does the event have any dsp effects on it. Unless your bank has about 100,000 sounds in it there is no reason for it to take that much memory.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.