GKImagePicker icon indicating copy to clipboard operation
GKImagePicker copied to clipboard

High Memory usage when cropping Panorama [IOS 7.1.1 multiple devices]

Open ataranlen opened this issue 9 years ago • 2 comments

I'm just running the example application included in the project. When selecting a panorama in the Apple's Default Cropper, Memory usage is 15.5 MB. When using the Custom Cropper, it jumps to 88.6. This is using a 7.4 MB JPG, 8208 x 2332 image. I've done a lot of testing with other panoramas as well, it gets worse the larger the image is.

Within the context of another app, this is causing memory warnings, and in some cases, crashing the app.

Baseline: screenshot 2014-08-15 16 42 44 Default: screenshot 2014-08-15 16 42 55 Custom Crop: screenshot 2014-08-15 16 43 10

VM Allocations is pointing to ImageIO as the culprit, but I haven't found a potential solution.

ataranlen avatar Aug 15 '14 21:08 ataranlen

Hey did you find any solution?

s avatar Feb 18 '15 22:02 s

No, I still do not have a solution for this problem.

ataranlen avatar Feb 18 '15 22:02 ataranlen