# High Memory Usage When Loading Stream-only FMOD Banks via Addressables

**URL:** <https://qa.fmod.com/t/high-memory-usage-when-loading-stream-only-fmod-banks-via-addressables/22942>\
**Category:** Unity\
**Tags:** unity\
**Created:** [May 15, 2025, 7:08am UTC](https://qa.fmod.com/t/high-memory-usage-when-loading-stream-only-fmod-banks-via-addressables/22942 "2025-05-15T07:08:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamdallee](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jamdallee](https://qa.fmod.com/u/jamdallee)\
**Post date:** [May 15, 2025, 7:08am UTC](https://qa.fmod.com/t/high-memory-usage-when-loading-stream-only-fmod-banks-via-addressables/22942/1 "2025-05-15T07:08:56Z")

</div>

Hi,

I’m currently using FMOD banks as Addressables in Unity, and I’m encountering a memory usage issue.

Even when a bank contains only streamed events (no sample data), loading the bank causes the entire bank size to be loaded into memory. For example, I have a bank called BGM.streams.bank that is about 50 MB. Simply loading the bank via Addressables—without playing any events or explicitly loading sample data—results in the full 50 MB being loaded into memory.

For reference, I checked the memory usage using `FMOD.Memory.GetStats()`.

The streamed events play correctly without any issues. However, compared to Unity’s built-in AudioClip streaming option, this results in significantly higher memory consumption, which is concerning for us, especially on memory-constrained platforms.

I’ve attached a snippet of the script I’m using. It loads/unloads banks via ScriptableObjects that hold AssetReferences, based on their use case. I would appreciate it if you could let me know whether there’s anything wrong with my approach, or if this is expected behavior with streamed FMOD banks.

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [May 19, 2025, 1:20am UTC](https://qa.fmod.com/t/high-memory-usage-when-loading-stream-only-fmod-banks-via-addressables/22942/2 "2025-05-19T01:20:03Z")

</div>

Hi,

Thank you for the information and the code.

Could I please grab your FMOD studio and integration versions?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/0/01ff6d670957265106284e5f3ab16f5cde75de9b.png)

Thanks

---

<div class="post-metadata">

**Author:** ![jamdallee](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jamdallee](https://qa.fmod.com/u/jamdallee)\
**Post date:** [May 19, 2025, 2:31am UTC](https://qa.fmod.com/t/high-memory-usage-when-loading-stream-only-fmod-banks-via-addressables/22942/3 "2025-05-19T02:31:12Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/7/7ea10f983a9e7c00c3a7fa6470cc707d74c59caa.png)

My version is 2.02.23.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [May 20, 2025, 2:12am UTC](https://qa.fmod.com/t/high-memory-usage-when-loading-stream-only-fmod-banks-via-addressables/22942/4 "2025-05-20T02:12:39Z")

</div>

Thank you for the information.

Unfortunately, I am not able to reproduce the issue.

Would it be possible to package your Studio project with the following settings:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/be87fa96fd89ca43b6fc0ca25c3b008ead455503.png)  
and upload it to your [profile](https://fmod.com/profile#uploads).

Would it also be possible to record a profiler session ([FMOD Studio | Profiling](https://fmod.com/docs/2.02/studio/profiling.html)) when loading the bank and share that as well with the following settings:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/bdffe79935faba53f7dc102b07a8a41e266451e3.png)

---

<div class="post-metadata">

**Author:** ![jamdallee](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jamdallee](https://qa.fmod.com/u/jamdallee)\
**Post date:** [May 20, 2025, 5:40am UTC](https://qa.fmod.com/t/high-memory-usage-when-loading-stream-only-fmod-banks-via-addressables/22942/5 "2025-05-20T05:40:12Z")

</div>

While waiting for a reply, I figured out the issue and wanted to share what I found.

I was following the Unity guide ([https://fmod.com/docs/2.01/unity/user-guide.html#assetbundles-addressables](https://fmod.com/docs/2.01/unity/user-guide.html#assetbundles-addressables)) and used `RuntimeManager.LoadBank` to load the bank. However, since it uses `loadBankMemory` under the hood, even streaming banks were taking up their full size in memory.

As a workaround, I’m currently copying the bank file from Addressables to the file system and loading it using `loadBankFile`.  
This works, but it requires downloading the bank, copying it, and manually verifying its integrity.

Is there a better way to load banks that conserves memory?

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [May 21, 2025, 1:25am UTC](https://qa.fmod.com/t/high-memory-usage-when-loading-stream-only-fmod-banks-via-addressables/22942/6 "2025-05-21T01:25:56Z")

</div>

Thank you for sharing your solution.

> [@jamdallee](#):
>
> Is there a better way to load banks that conserves memory?

Unfortunately not, that is the best alternative.
