We are in the process of changing the paths that we send to FMOD for our resources. In the process of trying to figure out what we need to fix to push the change through, we are getting out of memory errors. I would expect FMOD to not be able to find the files. Instead it is finding them but the amount of memory it is requiring is very strange. Take a look at this out put right before crashing:
FMOD: MemPool::alloc : Failed allocating \pc\src\sound\fmod4\src\fmod_channelgroupi.cpp line 880. Wanted 336 bytes, current 32759178/33488896 (rounding wastage = 729654 bytes)
Why is it wasting so much memory? It is loading some of the data but then it runs out. Why am I having a memory problem and not an "FMOD failed to load file" problem?
Thanks,
Daniel
- droberts asked 12 years ago
- You must login to post comments
look at the debug log if you want to find the reasons for things, and what path fmod thinks it is being given.
- Brett Paterson answered 12 years ago
- You must login to post comments
[quote="brett":2dixg1gn]look at the debug log if you want to find the reasons for things, and what path fmod thinks it is being given.[/quote:2dixg1gn]
Hi,
I got the same issue on ps2. I know that is because we are running out of memory. But, is there a way that I can reduce the rounding wastage? Right now it is like :1704448/2097152 (rounding wastage = 105984 bytes) on our spu. That’s about 5%…
Thank you!
- karl answered 10 years ago
- You must login to post comments
[quote="karl":15xfyaxj][quote="brett":15xfyaxj]look at the debug log if you want to find the reasons for things, and what path fmod thinks it is being given.[/quote:15xfyaxj]
Hi,
I got the same issue on ps2. I know that is because we are running out of memory. But, is there a way that I can reduce the rounding wastage? Right now it is like :1704448/2097152 (rounding wastage = 105984 bytes) on our spu. That’s about 5%…
Thank you![/quote:15xfyaxj]
For what it’s worth, 5% is pretty good…
- Dogbert answered 10 years ago
- You must login to post comments
Fragmentation etc is reduced in the latest branches of FMOD , we switched from custom allocs to dlmalloc in 4.18+
- Brett Paterson answered 10 years ago
- You must login to post comments
Please login first to submit.