# Android - Not enough memory or resources

**URL:** <https://qa.fmod.com/t/android-not-enough-memory-or-resources/18141>\
**Category:** FMOD Studio\
**Tags:** android\
**Created:** [December 27, 2021, 8:02am UTC](https://qa.fmod.com/t/android-not-enough-memory-or-resources/18141 "2021-12-27T08:02:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Irfan](https://avatars.discourse-cdn.com/v4/letter/i/8797f3/32.png) [@Irfan](https://qa.fmod.com/u/Irfan)\
**Post date:** [December 27, 2021, 8:02am UTC](https://qa.fmod.com/t/android-not-enough-memory-or-resources/18141/1 "2021-12-27T08:02:00Z")

</div>

I am facing an Issue while using FMOD in Android Studio as a NDK project. I am using FMOD to create different voice effects, which is done in a loop. If I am to initiate the instance multiple times, I get the (Not enough memory or resources.) error and the voice operation stops. I have called System-\>close() and System-\>release() when the loop operation finishes but to no avail.

---

<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:** [December 30, 2021, 3:12pm UTC](https://qa.fmod.com/t/android-not-enough-memory-or-resources/18141/2 "2021-12-30T15:12:01Z")

</div>

I’m confused as to why you are initializing and trying to release the FMOD system so many times? Usually this is done once when the application is started and once when it is closed.

You can see an example of recording a microphone in the `record` project of the Core API examples.
