googlemaps / android-maps-compose

Jetpack Compose composables for the Maps SDK for Android
https://developers.google.com/maps/documentation/android-sdk/maps-compose
Apache License 2.0
1.17k stars 143 forks source link

The issue of a memory leak seems to be occurring in the debug environment #496

Open ro0opf opened 11 months ago

ro0opf commented 11 months ago

Thanks for stopping by to let us know something could be better!


PLEASE READ

If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.

Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.

If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.

Check for answers on StackOverflow with the google-maps tag.


Please be sure to include as much information as possible:

Environment details

  1. Specify the API at the beginning of the title (for example, "Places: ...")
  2. OS type and version : irrelevance
  3. Library version and other environment information : 3.1.1 / build type : debug

Steps to reproduce

It seems that there is a memory leak issue when using Google Map Compose in the debug environment. The issue occurs even during the build when only Google Map Compose is added to the Activity/Fragment. While the initial entry appears to be fine, subsequent reentries result in significantly slowed performance to the extent that normal usage becomes challenging. It operates normally in the release environment. Can you please look into this for confirmation?

Code example

# example

Stack trace

# example

Following these steps will guarantee the quickest resolution possible.

Thanks!

wangela commented 11 months ago

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.

@ro0opf Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.