nativescript-google-maps-sdk icon indicating copy to clipboard operation
nativescript-google-maps-sdk copied to clipboard

Application suddenly hangs and just shuts down without no NativeScript crash log

Open terhoraj opened this issue 7 years ago • 5 comments

I have used this plugin a long time now without a problems but noticed in harder use that when I navigate around to different views which is necessary in this application it just hangs, Google maps going "white" and soon after that whole application just closes without nativescripts own crash report view.

Only thing I see is this via console: image

I have seen few hangs with error log where cause is OOM but it seems to be very hard to reproduce intentionally, so I can't post it just yet.

I'm using Nativescript with javascript and it's version 2.4.2 since some plugins ain't working on newest nativescript for me. I how ever don't believe my case is that but something to do with destroying google maps view before navigating out and in again or something..

terhoraj avatar Apr 19 '17 05:04 terhoraj

Based on monitoring and logs it's OOM (OutOfMemory) error when stack gets too big. So question is that is there a correct way to destroy gmap view when navigating out. It takes small amount more of memory each time I navigate out and back in to the view which has maps view, till it hangs completely due OOM.

terhoraj avatar Apr 20 '17 08:04 terhoraj

Did you find a way to clean destroy the gmap view?

ghost avatar Jul 12 '17 09:07 ghost

This is becoming a major problem for me too.

3rror404 avatar Nov 02 '17 10:11 3rror404

Any way to destroy mapview?

LSmint avatar Mar 07 '19 04:03 LSmint

Hello, any news? Thanks

mrzanirato avatar Sep 21 '20 12:09 mrzanirato