Skip to content

Mapview leak memory on IOS #2782

@kduy969

Description

@kduy969

Version: branch master, commit 21a7536
React native version: 0.59.1
Platform: IOS
Map Provider: Google.

Issue:
Each time I open a screen which contain a <MapView/> , memory go up about 50mb, but when I go back , memory not reduce the same amount ,try this a few times will make app crash. After that, I use Xcode profile tool to monitor leak event, this point out leak memory come from AIRGoogleMap[getActionForTarget] , despite I have no marker on MapView. When I remove <MapView/> from my screen, the issue gone away.

PS: I switch to master when trying to workaround a bug mentions here:
#2737 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions