# Occasional lags before EventInstance created

**URL:** <https://qa.fmod.com/t/occasional-lags-before-eventinstance-created/14998>\
**Category:** FMOD Engine\
**Created:** [August 30, 2019, 7:41pm UTC](https://qa.fmod.com/t/occasional-lags-before-eventinstance-created/14998 "2019-08-30T19:41:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jarro](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@Jarro](https://qa.fmod.com/u/Jarro)\
**Post date:** [August 30, 2019, 7:41pm UTC](https://qa.fmod.com/t/occasional-lags-before-eventinstance-created/14998/1 "2019-08-30T19:41:56Z")

</div>

I’m experiencing occasional (one out of ten) lags right before EventInstance is created, surely system-\>update() intercepting the game thread for a while (from 0.1sec to 2 secs long). I tried so many options but failed to diagnose the problem, live update shows nothing except overall CPU decline at those moments. CPU usage profiller shows it’s fmodL.dll fault. I pre-load all sample data and use default initialization and sample compression settings.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [September 5, 2019, 10:56pm UTC](https://qa.fmod.com/t/occasional-lags-before-eventinstance-created/14998/2 "2019-09-05T22:56:12Z")

</div>

Using the Studio Profiler should be able to provide more information on any CPU usage, overall and at an Event level.
