# PVRSRVAllocDeviceMem: Error 3 returned and GL\_OUT\_OF\_MEMORY on Sumsung Galaxy S4

**URL:** <https://forums.imgtec.com/t/pvrsrvallocdevicemem-error-3-returned-and-gl-out-of-memory-on-sumsung-galaxy-s4/2742>\
**Category:** PowerVR Insider\
**Created:** [July 18, 2018, 2:09am UTC](https://forums.imgtec.com/t/pvrsrvallocdevicemem-error-3-returned-and-gl-out-of-memory-on-sumsung-galaxy-s4/2742 "2018-07-18T02:09:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiyuan.liao](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@jiyuan.liao](https://forums.imgtec.com/u/jiyuan.liao)\
**Post date:** [July 18, 2018, 2:09am UTC](https://forums.imgtec.com/t/pvrsrvallocdevicemem-error-3-returned-and-gl-out-of-memory-on-sumsung-galaxy-s4/2742/1 "2018-07-18T02:09:22Z")

</div>

Hi：  
My mobile application crash very frequently on Sumsung Galaxy S4, does not crash on other mobile device.

I use PVRTrace get error log "glDrawElements(GL\_TRIANGLES, 6, GL\_UNSIGNED\_SHORT, 0xbb8) =\> :: Error: GL\_OUT\_OF\_MEMORY ", but the mobile still has a lot of memory

At the same time, the error log “IMGSRV: :0: PVRSRVAllocDeviceMem: Error 3 returned” was also be printed

My mobile is Sumsung Galaxy S4(GT-I9500)  
And GPU is PowVR SGX 544MP  
OpenGL ES2.0

Greate thanks in advance if someone could give me some clues for the problem

---

<div class="post-metadata">

**Author:** ![MartonTamas](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/martontamas/32/297_2.png) [@MartonTamas](https://forums.imgtec.com/u/MartonTamas)\
**Post date:** [July 18, 2018, 10:15am UTC](https://forums.imgtec.com/t/pvrsrvallocdevicemem-error-3-returned-and-gl-out-of-memory-on-sumsung-galaxy-s4/2742/2 "2018-07-18T10:15:34Z")

</div>

Hi,

can you please send us the PVRTrace file so we can take a look at the problem?

thanks,  
Marton

---

<div class="post-metadata">

**Author:** ![jiyuan.liao](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@jiyuan.liao](https://forums.imgtec.com/u/jiyuan.liao)\
**Post date:** [July 23, 2018, 2:20am UTC](https://forums.imgtec.com/t/pvrsrvallocdevicemem-error-3-returned-and-gl-out-of-memory-on-sumsung-galaxy-s4/2742/3 "2018-07-23T02:20:59Z")

</div>

Hi Marton,  
This is the PVRTrace file’s link

[pvrtrace file](https://note.youdao.com/share/?id=b9f4e1f13353e75243bf0ca8b1e49a3a&type=note#/)

thanks
