Open Botspot opened 11 months ago
I like Electron better.
Try looking into ways to minimize RAM usage.
This is possible under Electron. It just takes research. I've seen it use less than 300MB, though I am not sure how exactly to do this. I would suggest that this issue be re-opened with the purpose of finding ways to reduce Electron's ram usage.
I've found that only using modules when needed can limit RAM usage - it seems to work. Due to come in 1.4
216MB of RAM usage is slightly better. Electron says it uses about 158MB of RAM:
Look at the RSS column: that is actual RAM usage. That totals out to nearly 700MB, which is a lot for Raspberry Pi computers with 1GB of RAM. Even on my 8GB Pi4 I had to close out of my web browser to prevent slowdowns. The Pi zero W has 500MB of RAM - it would not even be able to open the app without freezing. At its core, this is a music streaming program. It should not take nearly 300MB to install and >500MB of RAM. Linux users will uninstall this in disgust and call it 'bloatware', and I would have to partially agree with them. Try looking into ways to minimize RAM usage. You may want to look into rebuilding the UI with QT - which is cross-platform and supports Windows and Linux.