Skip to content
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

API data size 2MB and large, memory leak #24134

Closed
harleenarora opened this issue Mar 25, 2019 · 4 comments
Closed

API data size 2MB and large, memory leak #24134

harleenarora opened this issue Mar 25, 2019 · 4 comments
Labels
Platform: Linux Building on Linux. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@harleenarora
Copy link

Description::

If my API data size is more than 2MB and can be extended. My Android/IOS app crashes on loading a page for a second time. I am hit the API so many time, app is not crash, But I am convert api response to response.json(), app is crash on second time.

React Native Environment Info:

System:
  OS: Linux 4.15 Ubuntu 18.04.2 LTS (Bionic Beaver)
  CPU: (2) x64 Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz
  Memory: 1.17 GB / 7.76 GB
  Shell: 4.4.19 - /bin/bash
Binaries:
  Node: 10.5.0 - /usr/local/bin/node
  npm: 6.1.0 - /usr/local/bin/npm
npmPackages:
  react: ^16.8.5 => 16.8.5 
  react-native: ^0.59.1 => 0.59.1 
npmGlobalPackages:
  create-react-native-app: 2.0.2
  react-native-cli: 2.0.1
@darekg11
Copy link

Do you think that this can look similar to #23801?

@harleenarora
Copy link
Author

harleenarora commented Mar 25, 2019

@darekg11 I know, but there is not any solution on #23801 . Can you provide a solution for this solve this problem.

@darekg11
Copy link

@harleenarora Sorry nope, I wanted to recommended trying following comment:
#20352 (comment)
but I see that you have already posted there so it seems like cloning the response object does not work for You.

@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

👉 Click here if you want to report a reproducible bug or regression in React Native.

@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Mar 25, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Mar 25, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Linux Building on Linux. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants