Bug 4898 - MonoDevelop is leaking heavily
Summary: MonoDevelop is leaking heavily
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: High major
Target Milestone: ---
Assignee: Mike Krüger
URL:
: 7611 ()
Depends on:
Blocks:
 
Reported: 2012-05-04 19:14 UTC by Mikayla Hutchinson [MSFT]
Modified: 2013-11-28 01:36 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:
Status:
RESOLVED FIXED

Description Mikayla Hutchinson [MSFT] 2012-05-04 19:14:36 UTC
MonoDevelop is leaking heavily during normal usage, even with stetic disabled.
Comment 1 Alan McGovern 2013-01-14 09:57:29 UTC
Is this still the case? I've never been able to reproduce a noticeable leak. We may as well close this if we can't get more info.
Comment 2 Mikayla Hutchinson [MSFT] 2013-01-15 16:20:48 UTC
Yes. Every time I open and close Main.sln, MD's memory use grows another 30-100 MB, and it never goes back down.
Comment 3 Alan McGovern 2013-01-15 19:43:19 UTC
Does this only happen on MacOS or does it happen on windows too?
Comment 4 Alan McGovern 2013-01-15 19:57:37 UTC
I opened and closed main.sln several dozen times and saw a pretty negligible change in memory usage as compared to opening it just once. There's definitely a leak but it is miniscule, in the order of a few MB per open/close cycle you average out the memory increase.

If you can still repro 30-100 mb per open/close cycle with the latest builds we should look into it.
Comment 5 Mikayla Hutchinson [MSFT] 2013-01-16 15:13:23 UTC
MacOS, tip of ui-refresh, bockbuild.
Comment 6 Lluis Sanchez 2013-08-27 13:49:57 UTC
*** Bug 7611 has been marked as a duplicate of this bug. ***
Comment 7 Marius Ungureanu 2013-11-21 00:39:05 UTC
Michael, is this fixed?
Comment 8 Mikayla Hutchinson [MSFT] 2013-11-24 14:12:10 UTC
Can trivially repro on Windows. Simply keep opening and closing Main.sln.
Comment 9 Mike Krüger 2013-11-27 01:53:24 UTC
fixed
Comment 10 Alan McGovern 2013-11-27 20:48:54 UTC
The same bug still exists after your fix. The repro is even simpler. You can trigger it this way on Mac:

1) Delete ~/Library/Caches/XamarinStudio-4.0
2) Open XS
3) Open Main.sln (from the monodevelop repo) and the close it immediately

Result:

Memory usage increases forever and the CPU is consistently around 150%.
Comment 11 Mike Krüger 2013-11-28 01:21:43 UTC
It is not the same bug. That is completely different.
Comment 12 Mike Krüger 2013-11-28 01:36:15 UTC
(btw. that one should be fixed as well)