Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 11432 [details]
Attached is a sample that exhibits this behavior. There are 3 buttons (Odd, Even, All) that replace the filtered contents with a new list. Run through these 3 buttons about 20 times and you'll see the memory start to leak.
Created attachment 11433 [details]
Appears to have to do with PropertyChangedEvent handlers
Heapshot analysis output
I have checked this issue and here are my observation. As per instruction provided in bug description, 0after running the attached sample and run through these 3 buttons more than 20 times. I got the lines in application output like:
2015-06-04 18:17:24.139 ExcessiveCollectingTestiOS[2575:76898] UpdateCollectionInfo(): collection count=38, memory in use=15,006,992
UpdateCollectionInfo(): collection count=38, memory in use=15,006,992
Could you please confirm me that Is this the same behaviour you are facing at your end ? If no then please suggest me that what steps should I follow to reproduce this issue. That would be very helpful to reproduce this issue at our end.
Application Output: https://gist.github.com/Rajneesh360Logica/9df34efe2711f06ae78c
Ide Logs: https://gist.github.com/Rajneesh360Logica/e4ac103d250e4701470c
Simulator Logs: https://gist.github.com/Rajneesh360Logica/7a1544d9042b23c74258
Build Output: https://gist.github.com/Rajneesh360Logica/33b7ef51558da55721f7
=== Xamarin Studio ===
Version 5.9.2 (build 4)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
Mono 4.0.1 ((detached/ed1d3ec)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400010044
=== Apple Developer Tools ===
Xcode 6.2 (6776)
=== Xamarin.Mac ===
Version: 188.8.131.52 (Business Edition)
=== Xamarin.Android ===
Version: 184.108.40.206 (Business Edition)
Android SDK: /Users/MM/Desktop/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
4.4.87 (API level 20)
5.0 (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
=== Xamarin Android Player ===
Version: Unknown version
Location: /Applications/Xamarin Android Player.app
=== Xamarin.iOS ===
Version: 220.127.116.11 (Business Edition)
Build date: 2015-05-26 22:17:27-0400
=== Build Information ===
Release ID: 509020004
Git revision: 288eb01e990f2d93b856c9600a0c40708b930128
Build date: 2015-06-01 14:29:52-04
Xamarin addins: c12ed369b0e05dc5c35c9350fdcbc00a46c0ff99
=== Operating System ===
Mac OS X 10.9.5
Darwin MacMini.local 13.4.0 Darwin Kernel Version 13.4.0
Sun Aug 17 19:50:11 PDT 2014
Ignore the output from the GC API - use Mono heapshot tool to look for allocations/references that should have been cleaned up.
I am moving this to IN_PROGRESS because I've already looked into this and started working on it.
We're coming up on 10 months since this was reported as being in progress. Can we get an update on this please?
Sorry this should have been resolved months ago, this work was completed and merged but we forgot to update the bug. If you are still having issues please re-open.