DBCamera icon indicating copy to clipboard operation
DBCamera copied to clipboard

Received memory warning

Open zeropt7 opened this issue 10 years ago • 18 comments

Hi, whenever I choose a photo there's memory warning issue. What could be the problem here? Thanks.

zeropt7 avatar Apr 12 '14 07:04 zeropt7

Hi @zeropt7 , i don't know. Can you tell me you iPhone model, iOS version and if this problem is on the example project? Thanks

danielebogo avatar Apr 14 '14 16:04 danielebogo

Hi, same here.

When I'm running (my own project, not example) and I display the camera I get a memory warning in the console. Doesn't crash or anything, but does display the warning.

I have an iPhone 5s running iOS 7.1.

Thanks, AWESOME project by the way.

danlozano avatar May 02 '14 18:05 danlozano

@danlozano very strange. I'll take a look to the code for sure.

danielebogo avatar May 06 '14 20:05 danielebogo

I have the same warning. I checked with the leak instruments and it says that "NSAutoReleasePool" fires the leak

denadai2 avatar Jun 22 '14 18:06 denadai2

The warning is with the library or with the camera?

danielebogo avatar Jun 23 '14 15:06 danielebogo

I was using the example, it appears sometimes in the library, sometimes in the camera. Try it with instruments for many times

denadai2 avatar Jun 23 '14 15:06 denadai2

Can you try now? i've updated the master. Update your repo and try. Let me know.

danielebogo avatar Jun 23 '14 16:06 danielebogo

Any news? Did Anyone try with the new version?

danielebogo avatar Jul 08 '14 16:07 danielebogo

still happening pretty often on both camera and album. I was running it on iPhone 5S, iOS 7.1.2

rajatk avatar Jul 09 '14 13:07 rajatk

I must to find an iPhone 5s to test. I had a problem with another app (not with this library) only with this device.

danielebogo avatar Jul 15 '14 13:07 danielebogo

Happens on latest iPod Touch too if you have that.

rajatk avatar Jul 15 '14 18:07 rajatk

For now i've only an iPhone 5 and an iPhone 3gs. I'll try to find the other devices to test.

danielebogo avatar Jul 16 '14 08:07 danielebogo

I can confirm that the memory warning is still firing with iPhone 5s and DBCamera version 2.3.4, even if all other apps have been manually closed. On the other hand, I'm not seeing it happen with 5c. Something related to 64bit architecture...?

lekksi avatar Sep 11 '14 08:09 lekksi

@lekksi maybe this is the problem. I don't know where or why. Unfortunately i don't have a 64 bit device for now, so i can't debug this issue.

danielebogo avatar Sep 12 '14 13:09 danielebogo

Hello, in the example project, i see a memory warning (iPhone 5) that occurs every time cameraToggle (DBCameraManager.m) is called when the current device is the front camera and will switch to the back camera.

RomainPln avatar Sep 14 '14 03:09 RomainPln

I get same memory warning in iPhone 5 / iOS7.1.2

deviggner avatar Sep 17 '14 14:09 deviggner

I get same memory warning in iPhone 4s / iOS8.0.2

ampilogov avatar Oct 07 '14 17:10 ampilogov

Any updates on this. I am having a similar issue where the image is coming through nil. Not sure if anyone figured out a fix for this.

chadwilken avatar Aug 17 '15 15:08 chadwilken