Hacker News new | ask | show | jobs
by kuschku 2823 days ago
Too many websites at the same time cause the same issue.

If I open a site like cnn.com without an adblocker, all apps running in background (even e.g. spotify if I'm listening to music) are force closed because the phone runs low on RAM.

Every website or web app I've used so far has used > 100-200M RAM, while a well developed Android app stays below 20-50M.

My phone has 2GB RAM, 1GB is used by the OS, 500-800M are used by Google Play Services, and a web browser with 1-2 tabs takes another 200M of RAM.

As soon as I open a website any more complex than HN, everything feels sluggish.

1 comments

Agreed. The DOM and JavaScript, as used by many heavy websites and web apps, are heavy.

On the other hand, JavaScript in a more constrained environment--React Native, for example--is a lot more reasonable. Still heavier than an Android app, but not so heavy that it kills processes except on very downmarket phones.