GPUImage icon indicating copy to clipboard operation
GPUImage copied to clipboard

GPUImage Memory in ios12

Open perrorchen opened this issue 5 years ago • 2 comments

@BradLarson

Hello,I are developing a video software use your GPUImage framework. Recently, i met some memory problems in iOS12 。As shown in the figure below, the GPUImageView will allocate three memory, default default

default

Is that right? and the memory allocated by renderbufferstorage can not release when the GpuimageView remove from window。

perrorchen avatar Jan 16 '19 07:01 perrorchen

use this GPUImageContext.sharedFramebufferCache()?.purgeAllUnassignedFramebuffers()

bang9 avatar Apr 10 '19 09:04 bang9

@Bang9 I write [[GPUImageContext sharedFramebufferCache] purgeAllUnassignedFramebuffers]; at -(void)viewWillDisappear:(BOOL)animated and it's useless.

@perrorchen same issue as you. did you solved it ?

zhaoyk1986 avatar Sep 16 '19 08:09 zhaoyk1986