-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[Android][Bug] Memory grows over time in sample app #16600
Comments
@kesha-antonov Can you try running |
Also, wondering if you're running the profiler with the debug build? If you are, chances are that the memory usage will keep growing. |
@yinghang Ok thanks! I will try latest master |
I've tried both. Memory grows. In sample app slowly. In my production app faster With recent master will try tomorrow |
@yinghang BTW your graph looks like a saw. It means memory constantly grows and garbage collected. You think it's okay? I don't have much experience with java so not sure. |
I think so, I think it's due to the API call that I'm making every 5 seconds. |
Maybe related #16732 |
Are you using WebSockets in your app? If not I'm afraid that they're probably unrelated. Also, did you get to build your app with the release variant? App memory will grow continuously in debug mode. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
It's active |
Any update on this? |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
It's active |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Hello!
I've noticed that memory grows over time with no reason. In my app I see significant growth. In sample app is lower. But still.
It grows over limit. And then starts again and never stops to grow.
What's the reason?
Here's video:
Is this a bug report?
Yes.
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS High Sierra 10.13
Node: 6.11.3
Yarn: Not Found
npm: 5.4.2
Watchman: 4.9.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 2.3 AI-162.3871768
Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: 0.49.5 => 0.49.5
Steps to Reproduce
Expected Behavior
Not growing memory
Actual Behavior
Memory grows over time.
Reproducible Demo
No need. Just use sample app
The text was updated successfully, but these errors were encountered: