# Under which circumstances can glClear make a cpu side allocation?

**URL:** https://forums.imgtec.com/t/under-which-circumstances-can-glclear-make-a-cpu-side-allocation/3732
**Category:** PowerVR Insider
**Created:** [June 27, 2023, 7:58pm UTC](https://forums.imgtec.com/t/under-which-circumstances-can-glclear-make-a-cpu-side-allocation/3732 "2023-06-27T19:58:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![desperado](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@desperado](https://forums.imgtec.com/u/desperado)
#### Post date: [June 27, 2023, 7:58pm UTC](https://forums.imgtec.com/t/under-which-circumstances-can-glclear-make-a-cpu-side-allocation/3732/1 "2023-06-27T19:58:25Z")

</div>

Greetings,

I have a case here where inside a call to glClear on OpenGLES 3.1 suddenly a malloc of about 33 MB seems to be performed. Anyone with insight in the drivers here who can tell me when such a thing might be possible?

System is Aarch64Linux, GX 6650 GPU.

Regards.

---

<div class="post-metadata">

### Author: ![Nagnath](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@Nagnath](https://forums.imgtec.com/u/Nagnath)
#### Post date: [June 29, 2023, 7:52am UTC](https://forums.imgtec.com/t/under-which-circumstances-can-glclear-make-a-cpu-side-allocation/3732/2 "2023-06-29T07:52:48Z")

</div>

Hi Desperado,

Thank you for reaching PVR Developer forum.  
I can see you already reported to our internal developer portal with detailed memory logs. I am already in touch with our DDK team to address this.

Best Regards,  
Nagnath
