guillermomuntaner/GMImagePicker

Memory issue

Closed this issue · 3 comments

Hi..
I'm just add GMImagePicker in my test project, and launch GMImagePicker -> AlbumView(select Videos) -> video GridView -> back -> back.
But, memory doesn't released
Before launching GMImagePicker, memory usage 3.2M ,
after launching GMImagePicker and dismiss it, memory usage 7.1 ~ 7.5M
(My env : iPhone5 IOS9.0.2 , Xcode7.0.1 , Swift 2.0)
Please check it.. thank you
2015-10-20 20 34 25

Can you do exactly the same but using Apple default imagepicker? Ty.

Im using Apple imagePicker as you said, the same issue occurred (up to 8.9M)

so..Its just Apple's bug? Maybe, is there a way to fix it? or Please give me any hints

thank you.

I'm not sure and i cannot check. I assume this is the normal behaviour of the IOS Photo framework. This memory probably contains the image miniatures. If you open again the picker they should load faster.

I don't think you should worry at all. Probably it will be realeased when the device has memory issues.