Comments (10)
I am also having the same issue. When the internet is disconnected the memory usage for libBump skyrockets...
from bump-api-ios.
Thanks for the reports. We'll investigate and issue a fix.
from bump-api-ios.
Any update on this? Even I am facing this issue. The memory usage goes incredibly high if network connectivity is absent when bump is configured, resulting in the app crashing in a matter of few seconds..
from bump-api-ios.
Hi tewks. Is there any fix available for this? are there any plans at all to fix this. If not, I might have to dump Bump, as its unusable right now..
from bump-api-ios.
I'm using this code in mean time in main.m file
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import <sys/signal.h>
void SigPipeHandler(int s);
void SigPipeHandler(int s)
{
NSLog(@"We Got a Pipe Single :%d____________",s);
}
int main(int argc, char *argv[])
{
@autoreleasepool {
signal(SIGPIPE, SigPipeHandler);
// signal(SIGPIPE, SO_NOSIGPIPE);
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
from bump-api-ios.
Pretty simple to recreate this problem - just start phone up in airline mode and watch the memory blow out.
Any ETA on a fix for this?
from bump-api-ios.
Is there a way you can provide a method to tear down the entire singleton class and destroy BumpClient?
That would at least provide us a way to bandaid this situation based off the network availability - other wise this is not production worthy code.
from bump-api-ios.
/// if using ARC set this -fno-objc-arc
@interface DestroyBump : NSObject
+(void)deallocateNastyMemoryLeakUntilBumpSdkIsFixed;
#import "DestroyBump.h"
#import "BumpClient.h"
#import <objc/runtime.h>
@implementation DestroyBump
+(void)deallocateNastyMemoryLeakUntilBumpSdkIsFixed{
BumpClient *bc = [BumpClient sharedClient];
[bc disconnect];
[bc setChannelConfirmedBlock:nil];
[bc setDataReceivedBlock:nil];
[bc setConnectionStateChangedBlock:nil];
[bc setBumpEventBlock:nil];
[bc release];
}
from bump-api-ios.
Same issue here. Any update?
from bump-api-ios.
Fixed in 3.1
from bump-api-ios.
Related Issues (19)
- object file doesn't contain DWARF debug information HOT 3
- How to disconnect after a confirmation? Unstable library? HOT 1
- Crash on imbalanced connect/disconnect calls HOT 1
- Callback block to show upload / download progress HOT 1
- Explicit max packet size HOT 1
- 3.1 doesn't compile on i386 HOT 29
- discoonect does not works. HOT 1
- disconnet when no internet then crashes the app HOT 1
- when the bump connection state is disconnected can we do something to get bump reconnect? HOT 1
- Create cocoapod
- Crash with SHA1 functions HOT 1
- Bump 3 on iphone simulator? HOT 3
- knowing connection state HOT 1
- Two API-keys in the same application HOT 2
- Crash when blocked by firewall HOT 1
- Xcode warning when integrated Bump API HOT 2
- This build does not work when building for iOS 6 (on device) due to armv7s HOT 18
- How to close shake sound when bump? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bump-api-ios.