MaterialLoadingProgressBar
MaterialLoadingProgressBar copied to clipboard
OpenGLRenderer is out of memory OR too many open files error
I am testing on a Samsung GT-S6012 "Duos" device running Android 4.04 API 15 GSM arena link http://www.gsmarena.com/samsung_galaxy_music_duos_s6012-5027.php
And I am getting this after the spinner runs for some time.... The application stops without an error dialog.. and the following is shown in the log...
This log is of my app using the spinner, although I did another test running the demo for a while and gives me the same type of error. ( the spinners actually become graphically corrupt.. one a black square rotating and the other a red square rotating after some time has elapsed. 20 seconds or so)
some link on the internet suggest that there are too many Async tasks running, could it be that there are too many Animations.. or perhaps a memory leak. (Not a nice bug to have though)
D/OpenGLRenderer: GL error from OpenGLRenderer: 0x505 E/OpenGLRenderer: OpenGLRenderer is out of memory! E/RHEA_BRALLOC: PMEM open failed with error Too many open files E/RHEA_BRALLOC: MEM allocation failed with error Too many open files E/RHEA_BRALLOC: PMEM open failed with error Too many open files E/RHEA_BRALLOC: MEM allocation failed with error Too many open files D/OpenGLRenderer: GL error from OpenGLRenderer: 0x505 E/OpenGLRenderer: OpenGLRenderer is out of memory! E/RHEA_BRALLOC: PMEM open failed with error Too many open files E/RHEA_BRALLOC: MEM allocation failed with error Too many open files E/RHEA_BRALLOC: PMEM open failed with error Too many open files E/RHEA_BRALLOC: MEM allocation failed with error Too many open files D/OpenGLRenderer: GL error from OpenGLRenderer: 0x505 E/OpenGLRenderer: OpenGLRenderer is out of memory! E/RHEA_BRALLOC: PMEM open failed with error Too many open files E/RHEA_BRALLOC: MEM allocation failed with error Too many open files E/RHEA_BRALLOC: PMEM open failed with error Too many open files E/RHEA_BRALLOC: MEM allocation failed with error Too many open files D/OpenGLRenderer: GL error from OpenGLRenderer: 0x505 E/OpenGLRenderer: OpenGLRenderer is out of memory! D/BRCM_EGL: eglMakeCurrent(NULL) Thread: 6509 D/BRCM_EGL: eglDestroySurface() surface: 0x38c8c8, android window 0x26c6a0, Thread: 6509 D/BRCM_EGL: eglCreateWindowSurface() surface: 0x38c8c8, VC surface: 18, Thread: 6509 D/BRCM_EGL: eglMakeCurrent(0x23baf8, 0x38c8c8, 0x38c8c8) Thread: 6509 E/BRCM_EGL: surface_dequeue_buffer surf:0x38c8c8 buffer=0x3e028c handle:0x0 tid=6509 E/BRCM_EGL: Cancelling buffers E/BRCM_EGL: surface_dequeue_buffer surf:0x38c8c8 buffer=0x3e028c handle:0x0 tid=6509 E/rhea.gralloc: invalid gralloc handle (at 0x0) A/libc: Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1)
Here are the corrupt images I have experienced (black and red square).
It looks like a bug of ICS. May be you can switch graphics acceleration off? If you have a try,please tell me.
@wayneforrest https://groups.google.com/forum/#!topic/g_reader/1u50W__e67Y