0
0

I have some functionallity for monitoring memory usage by our sound system that pretty much wraps up Memory_GetStats and EVENT_SYSTEMINFO/_WAVEBANKINFO. My problem is that if I compare the current_alloc from Memory_GetStats with the memory added up by wavebanks (samples and streams), events, instances and dsps I get a diff of about 33% that I can’t track down its usage. An example that I have running says that the current alloc is 24958 kb and the memory used by sampledata is 17177 kb. The rest of the posts says 0 kb. What am I missing here. What allocates the remaining memory?

  • You must to post comments
0
0

the event memory stats are not working properly at the moment, the best way is to use Memory_GetStats, we’ll work on getting the eventsystem memory stats fixed soon.

  • You must to post comments
0
0

So I can assume that the memory I can’t monitor that seems to be allocated judging from Memory_GetStats is allocated by events in some way, right? I mean Memory_GetStats do tell the truth, right?

  • You must to post comments
0
0

Is there anyway to approximate the memusage for now? I mean for our title we have a mempool of 30 megs (ps3) and it’s full after having loaded fsb:s of about 17 megs. I have noticed that FMOD itself allocs about 4 megs and that our fev:s take up a total of 1.5 megs but the rest is a black hole to me. I do understand that the event don’t come for free but it feels a little weird that they should alloc > 7.5 megs so what could I possibly be missing? How does FMOD handle streambuffers? Does it reserve memory for these or are they allocated on the fly? Streambuffers would explain a tiny bit of the mystery but not all.

  • You must to post comments
0
0

I misread a bit and FMOD does not allocate 4 megs but rather FMOD and all our fev:s. That is before loading any fsb:s at all about 4 megs are allocated.

  • You must to post comments
0
0

I’m still getting 0kb for events, instances and dsps (using 4.08.05) and I’m not really able squeeze al my content into the block of memory I have reserved. At the moment I am running with mempool of 32 megs but only 23 are used even though FMOD says the memory is full. Worth mentioning is that this is during startup so no fragmentation should have meesed up the pool at this stage.

  • You must to post comments
0
0

I was trying to check event memory yesterday then remembered it wasn’t working when I saw the output. The various metrics are very important so it would be nice if this was working soon please.

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.