Lesson 7

Table of Contents

Memory Cutoff Threshold

As you’ve learned in Lesson 3, you can set either a Volume Threshold or a Max Voice Instance Limit on your project, controlling how many voices are active at once. For keeping a steady amount on concurrent voices, these are the go-to limit options. But, in the case of staying within the boundaries of the memory pools, a Memory Cutoff Threshold can be used in the AkInitializer component. When the Memory Cutoff Threshold is reached, Wwise will start to kill sounds with the lowest priority to avoid any out of memory conditions. Currently, it’s set to 100% (1), which means there’s no threshold on the memory usage. Let’s instead set the threshold to 90%, so when the memory surpasses 90%, low priority voices will start to be killed.

  1. With the WwiseInitializer selected, double-click to open the AkWwiseInitializationSettings Asset file.

  2. In the AkWwiseInitializationSettings, set the Common User Settings > Memory Cutoff Threshold to 0.9 (0-100% is mapped to 0-1).


Was this page helpful?