hain
hain copied to clipboard
Reduce memory footprint?
With 16GB RAM it's not really an issue for me, but still, having hain run 80-120mb of RAM is a mite too much, compared to Launchy or FARR.
Yes, this is essential. I think it can be achieved by several ways such as:
- Merge and compress all JavaScript files (because v8 keeps sources as string in the memory)
- Customize Electron or Create another very lightweight WebKit wrapper (like
MacGap)
These are all very difficult. Are there anybody has a idea?
It is known that Electron uses up a lot of RAM, so if it could be improved, that might be a good route to go on. But I really like the idea of merging and compressing the JS files for increased performance, and I believe that will be beneficial as well.
Minify JS would come to mind too. link. But I think that's what you meant by compressing.
How much memory is a barebone hello world electron app consuming?
@ewnd9 Maybe 20~30mb for default 2 main processes. 10mb per window
It's RAM usage really high!.. Application is great but RAM eater :(