# Huge memory usage on Android

**URL:** <https://forums.unrealengine.com/t/huge-memory-usage-on-android/140956>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [April 4, 2020, 5:32pm UTC](https://forums.unrealengine.com/t/huge-memory-usage-on-android/140956 "2020-04-04T17:32:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeka](https://forums.unrealengine.com/u/Jeka)\
**Post date:** [April 4, 2020, 5:32pm UTC](https://forums.unrealengine.com/t/huge-memory-usage-on-android/140956/1 "2020-04-04T17:32:18Z")

</div>

For more than a week I’ve been trying to launch my project on an Android device. Hope you can help me. I have a game project where one big open world. I have packaged it using Android ATC but I just can’t start the game map, it crashes with an error in the following line:

```auto

check (Data! = NULL);

```

in OpenGLResources.h file in function:

```auto

uint8 * Lock (uint32 InOffset, uint32 InSize, bool bReadOnly, bool bDiscard)

```

class TOpenGLBuffer

I understand that there is not enough memory. I launch the same game through Mobile Preview ES 3.1 (PIE). I run test Memory in both cases. On the PC in Mobile Preview ES 3.1 (PIE) mode, after loading the level in Texture Memory Used, the figure is about 160 mb. When loading the Level texture Memory Used, the same test Memory goes over the 500 megabyte and the game crashes. I don’t understand anything, why does it happen? What am I doing wrong? What settings could I have missed with this effect, when not a large amount of memory is used on the PC and on the mobile it is so huge? Can you tell me where to look? Really hope for your help.

I also tried to set the r.Streaming.PoolSize = 0 setting. But I didn’t find in which file and with what heading I need to do this. Tell me please.

---

<div class="post-metadata">

**Author:** ![ikheiri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ikheiri](https://forums.unrealengine.com/u/ikheiri)\
**Post date:** [June 15, 2022, 11:39am UTC](https://forums.unrealengine.com/t/huge-memory-usage-on-android/140956/2 "2022-06-15T11:39:04Z")

</div>

I’m getting the same error.  
The setting for streaming needs to be in DefaultEngine.ini which is in the config directory in your main project folder under the [/Script/Engine.RendererSettings] heading.

---

<div class="post-metadata">

**Author:** ![ikheiri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ikheiri](https://forums.unrealengine.com/u/ikheiri)\
**Post date:** [June 15, 2022, 11:39am UTC](https://forums.unrealengine.com/t/huge-memory-usage-on-android/140956/3 "2022-06-15T11:39:58Z")

</div>

Oops - this was 2 years ago… I guess I’m a little late to the party.
