-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak problem #132
Comments
I noticed this issue as well, the memory rises indefinitely in Xcode. Are there plans to address the memory leak and/or caching problem? Thanks! |
What gif are you using to test this out? test.gif? |
I'm using NSData coming from a server |
The only thing that grows in The reason it "leaks" (not really, it just stores recordings into app's memory) is because
|
The only hints I could find were in #177 |
Hi,
Recently, I used FLAnimatedImage as a benchmark for my animate GIF engine in swift "JWAnimatedImage".But when I used it by writing this in the ViewController:
NSURL *url = [[NSBundle mainBundle] URLForResource:@"test" withExtension:@"gif"];
NSData *data = [NSData dataWithContentsOfURL:url];
FLAnimatedImage *image =[FLAnimatedImage animatedImageWithGIFData:data];
FLAnimatedImageView *imageView = [[FLAnimatedImageView alloc] init];
imageView.animatedImage = image;
imageView.frame = CGRectMake(0.0,50.0,400.0,224.0);
[self.view addSubview:imageView];
When I run the program,the memory usage has been rising, increased from 6.6M to 14.7M in 2 minutes.You can see the Measurement at here.(https://github.com/wangjwchn/JWAnimatedImage)
The text was updated successfully, but these errors were encountered: