Comments (2)
Thanks for the report! The first issue seems like a standard OOM issue which will happen on certain phones with limited memory. Since the API I'm using doesn't have a way to limit the data, there's not much I can do here.
The 2nd and 3rd issues seem like something I can prevent with more defensive programming. You mention it is relatively rare- can you comment how frequently you're seeing these crashes, and on what phone? Ideally I could find a repro case so I can properly fix it.
from covid19tracker.
Test information
Thanks for your reply! We are doing a research: "the impact of different network response data on app . To test the robustness of the app. " Because in the real network environment, the app may receive a variety of network response data , so we simulate various network response data, for example: for a normal network response data, we use 404,or null, or random value to replace.
So, the above crashes are also generated by these fuzzy data. When the first crash occurred, I checked that the simulator memory was enough.
From the above description, you can see that we are doing an experimental study to remind developers to pay attention to the weak network or no network environment ,and Pay attention to handling network response data is null or 404 etc.
How to fix it ?
Perhaps you can judge whether it is empty or null when receiving network response data.
from covid19tracker.
Related Issues (4)
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 covid19tracker.