GPUImage icon indicating copy to clipboard operation
GPUImage copied to clipboard

capturePhotoAs* and iOS 6

Open peterhwong opened this issue 14 years ago • 3 comments

Hey all, I'm experiencing a memory issue with a 4s running iOS6 and was wondering if anyone else is seeing the same thing. The 4s running iOS5 was working fine. Updated to iOS6 and now whenever I call capturePhotoAsImageProcessedUpToFilter, I crash with a memory error. When I display the available memory before and after captureStillImageAsynchronouslyFromConnection, there is a significant drop in memory:

Memory before captureStillImageAsynchronouslyFromConnection 61599744: Received memory warning. Received memory warning. Memory after captureStillImageAsynchronouslyFromConnection 8024064:

So if I try and allocate memory after this I get a crash.

Thanks Peter

peterhwong avatar Sep 24 '12 18:09 peterhwong

I think I also got the exact same issue.

rnaud avatar Sep 25 '12 10:09 rnaud

looks familiar to this discussion #446

rromanchuk avatar Oct 02 '12 08:10 rromanchuk

I believe that the latest code in the repository now fixes most of these memory-related issues.

BradLarson avatar Apr 01 '14 14:04 BradLarson