Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.17.8543 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.

Memory allocation failed.

A memory allocation failed because there wasn't enough memory available. The maximum memory Wwise can use is defined in code, at initialization time, by setting AkMemSettings::uMemAllocationSizeLimit. Note that the Memory tab in the Advanced Profiler shows a snapshot of the current state of memory taken every 200 ms. Therefore, it is possible that it shows there's enough memory even though an error is reported at the corresponding time.

Recommended resolution steps:

  • Use less memory by unloading unused SoundBanks, or by splitting SoundBanks into smaller files. This targets the greatest consumer of memory.

  • Use less memory by unregistering less Game Objects.

  • Increase AkMemSettings::uMemAllocationSizeLimit.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise