-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Memory issue on init #5722
Comments
Me to, couse our app 200+ crashs online, what's happened? |
it affected me too. the memmory increase to hundreds of MB. the thread would be killed |
I Found that using Works correctly ;-) |
the service was resumed at 7:00pm (time zone: Beijing) |
We’re investigating, thanks for your patience. |
We’re tracking the fix in #5723 and will release the fix today in v3.3.1. |
We have the same issue on our Android app since 10am (French time), do you plan to add a fix in the Android SDK too ? Is there any solution without having to update the app with a new MapBox SDK version ? |
@HappyDr0id sorry to hear you're affected by this, we're working on a fix to address this problem as soon as possible. In the meanwhile, there're a couple of things you could do to mitigate this issue:
|
@zugaldia Okay, thanks a lot for your answer, I will push an update on the PlayStore with a new map style. I hope that it will fix the issue. Keep up the good work ! |
To add a little more clarity on who would be affected by this bug:
Like @zugaldia pointed out in #5722 (comment), the best path forward is:
|
We're releasing the PR on Android as |
Android 4.1.1 is now released and publicly available on Maven Central. #5725 (comment) |
The fix is now in iOS SDK v3.3.1 and macOS SDK v0.2.1 as well. |
Hi,
I have installed MapBox via Fabric.
When i go an trigger the init method like this
{
self.map = [MGLMapView new];
[self.map setFrame:mapView.bounds];
[self.map setCenterCoordinate:CLLocationCoordinate2DMake(40.712791, -73.997848)
zoomLevel:12
animated:NO];
[mapView addSubview:self.map];
}
it doesn't load and I get a crash like this
AppName(3849,0x16e087000) malloc: *** mach_vm_map(size=805306368) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
(lldb)
PLEASE HELP
The text was updated successfully, but these errors were encountered: