Bug 16586 - GooglePlayServices memory leaks
Summary: GooglePlayServices memory leaks
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 4.10.1
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2013-12-04 08:25 UTC by Dmitry Valetin
Modified: 2017-06-28 18:03 UTC (History)
3 users (show)

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


Attachments
Sample projects (native and Xamarin studio) (540.92 KB, application/zip)
2013-12-04 08:54 UTC, Dmitry Valetin
Details


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 INVALID

Description Dmitry Valetin 2013-12-04 08:25:57 UTC
Hi, we are actively using Google Play Services (Froyo) library in our project and we notise a significant memory leak, which cannot be reproduced with Android Java code.
I have created two simple projects, which reproduce the issue:
1) create SupportMapFragment
2) get GoogleMap object instance
3) run infinite loop to add and remove single marker on the map

With native Java code heap size is stable and does not exceed initial allocation budget.
With Xamarin, heap exhausted in a few seconds.

Test projects attached.
Comment 1 Dmitry Valetin 2013-12-04 08:54:09 UTC
Created attachment 5600 [details]
Sample projects (native and Xamarin studio)

Sample projects
Comment 2 Tom Opgenorth 2017-06-28 18:03:20 UTC
Google Play Services for Froyo is no longer supported. 

If this issue occurs in a current version of Google Play Service, please attach a reproduction and re-open this issue.

Thanks.