[Mono-bugs] [Bug 551742] New: UIImagePicker leaks memory when using camera
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Nov 1 14:19:47 EST 2009
http://bugzilla.novell.com/show_bug.cgi?id=551742
Summary: UIImagePicker leaks memory when using camera
Classification: Mono
Product: MonoTouch
Version: unspecified
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Runtime
AssignedTo: gnorton at novell.com
ReportedBy: mike.bluestein at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=325039)
--> (http://bugzilla.novell.com/attachment.cgi?id=325039)
Test Case
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us)
AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9
Launching a modal view controller that contains the image picker for the camera
source causes the memory to not be reclaimed even after the modal view
controller is dismissed. I have attached a simple project to demonstrate.
You'll need to deploy it to a device and watch the memory in instruments.
Note: I'm using an iphone 3g with a release build for hte sample app (attached)
Reproducible: Always
Steps to Reproduce:
1.Deploy the sample project attached to a device
2.Launch instruments to watch real memory on device
3.Press button in sample project to launch image picker with camera source
4. Take a picture and touch use camera
5. note camera is not gone but memory is still at same level
Actual Results:
Memory leak
Expected Results:
Memory should return to ~ value prior to using camera (as I'm not saving the
image anywhere in this example)
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list