# A question about memory of events who have trigger condition

**URL:** <https://qa.fmod.com/t/a-question-about-memory-of-events-who-have-trigger-condition/15511>\
**Category:** FMOD Engine\
**Created:** [March 2, 2020, 4:19am UTC](https://qa.fmod.com/t/a-question-about-memory-of-events-who-have-trigger-condition/15511 "2020-03-02T04:19:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesZhang](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@JamesZhang](https://qa.fmod.com/u/JamesZhang)\
**Post date:** [March 2, 2020, 4:19am UTC](https://qa.fmod.com/t/a-question-about-memory-of-events-who-have-trigger-condition/15511/1 "2020-03-02T04:19:07Z")

</div>

Hi,  
I’m wondering whether an event instrument will be loaded to memory when its trigger condition is disabled by its parameter.  
For example, a footstep event has a lot of event instruments set for different ground textures. When I’m walking on the dirt, the event instrument of dirt will be played. But, in the meantime, although I can’t hear, will the other texture sounds be loaded by Fmod? Because they are in the same mother event. So I’m worried that if I make a huge footstep event who contains all textures and Foley things will waste a lot of memory.

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [March 11, 2020, 10:27pm UTC](https://qa.fmod.com/t/a-question-about-memory-of-events-who-have-trigger-condition/15511/2 "2020-03-11T22:27:56Z")

</div>

All instruments, with the exception of instruments that contain streaming assets, will be loaded into memory once the event is created. You can use the profiler to check how much memory is being used and determine if you are okay with using this style of event, or if you would prefer to conserve memory, you can switch to using separate events for each footstep type.

---

<div class="post-metadata">

**Author:** ![JamesZhang](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@JamesZhang](https://qa.fmod.com/u/JamesZhang)\
**Post date:** [March 12, 2020, 12:16pm UTC](https://qa.fmod.com/t/a-question-about-memory-of-events-who-have-trigger-condition/15511/3 "2020-03-12T12:16:30Z")

</div>

Got it. Thank you a lot!

---

<div class="post-metadata">

**Author:** ![JamesZhang](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@JamesZhang](https://qa.fmod.com/u/JamesZhang)\
**Post date:** [March 16, 2020, 8:15am UTC](https://qa.fmod.com/t/a-question-about-memory-of-events-who-have-trigger-condition/15511/4 "2020-03-16T08:15:04Z")

</div>

Hi Richard,  
First of all, thank you very much. I got it.  
One more question, do we have a manual to learn about these performance things? I didn’t find it in ‘Learn’ page.  
And we are using 1.10.00. Is it same as you say?  
Thank you again!

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [March 17, 2020, 11:44pm UTC](https://qa.fmod.com/t/a-question-about-memory-of-events-who-have-trigger-condition/15511/5 "2020-03-17T23:44:41Z")

</div>

We have some information in our documentation on CPU performance, but the topic is so wide and varied that it’s difficult to write down. If you have further questions on optimizations we can investigate and answer them on here.

[https://www.fmod.com/resources/documentation-api?version=2.0&page=white-papers-cpu-performance.html](https://www.fmod.com/resources/documentation-api?version=2.0&page=white-papers-cpu-performance.html)

---

<div class="post-metadata">

**Author:** ![JamesZhang](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@JamesZhang](https://qa.fmod.com/u/JamesZhang)\
**Post date:** [March 18, 2020, 7:40am UTC](https://qa.fmod.com/t/a-question-about-memory-of-events-who-have-trigger-condition/15511/7 "2020-03-18T07:40:51Z")

</div>

Nice! Thank you very much.
