Crash on android

when loading level, my game crash, with log like this:

Adreno-GSL: : sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory

Adreno-GSL: : ioctl_kgsl_sharedmem_alloc: FATAL ERROR : (null)

UE4: Ensure condition failed: Creations == Deletions [File:E:\Engine_Svn\4.14.0\Engine\Source\Runtime\Engine\Private\Slate\DebugCanvas.cpp] [Line: 19]

UE4: FProxyCounter::~FProxyCounter has a mismatch. 1560 creations != 1559 deletions

libc: Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 17315 (main)

i dont know how to fix it, what the “FProxyCounter::~FProxyCounter has a mismatch. 1560 creations != 1559 deletions” means? is there any suggestion?

Hi,

Can you upload your entire log ? So we can take a look at it ?

Thanks

[link text][1]

121558-log.txt (401 KB)

thank you, this is my log in logcat.

,

It looks as though your device is running out of shared memory. I would suggest making sure that your project is optimized for mobile development. I’d also open up the log and type in ‘warning’ in the search bar and try to resolve those issues with your animation instance class, the widget and the other warnings/errors you may find. The warnings could be causing part of your memory failure on the device.

01-11 13:35:11.491 18433-18476/com.umi_game.tiankongzhimen W/Adreno-GSL: <sharedmem_gpumem_alloc_id:1489>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
01-11 13:35:11.491 18433-18476/com.umi_game.tiankongzhimen E/Adreno-GSL: <ioctl_kgsl_sharedmem_alloc:1590>: ioctl_kgsl_sharedmem_alloc: FATAL ERROR : (null)
01-11 13:35:11.691 18433-18476/com.umi_game.tiankongzhimen D/UE4: Ensure condition failed: Creations == Deletions [File:E:\Engine_Svn\4.14.0\Engine\Source\Runtime\Engine\Private\Slate\DebugCanvas.cpp] [Line: 19] 
01-11 13:35:11.691 18433-18476/com.umi_game.tiankongzhimen D/UE4: FProxyCounter::~FProxyCounter has a mismatch.  925 creations != 924 deletions
01-11 13:35:11.691 18433-18476/com.umi_game.tiankongzhimen A/libc: Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 18476 (main)

thank you!
my device have 2G memory, and when it crash, the pss only 310m. how to check “shared memory” run out? my device CPU is Qualcomm 810, gpu is Adreno330, android version 4.4.4

You might need to upgrade some drivers on your device, or perhaps the version of Android - depending on how high Android can be updated for your specific device.

Do you have any images, textures, materials that are of large size that you could possibly size down? Any sort of graphics that would be hard for a mobile device to process?

Review the documentation below, it may help you size down the resources needed for your project.

Documentation:

  • [Texture Guidelines for Mobile Platforms][1]
  • [Performance Guidelines for Mobile Devices][2]
  • [Mobile Performance Tips & Tricks][3]

Rendering Features for Mobile Games in Unreal Engine | Unreal Engine 5.1 Documentation
[2]: Performance Guidelines for Mobile Devices in Unreal Engine | Unreal Engine 5.1 Documentation
[3]: https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Performance/TipsAndTricks/index.html