tryhardfifi / breathe-electron

1 stars 0 forks source link

High RAM usage after a while #1

Open sojusnik opened 3 years ago

sojusnik commented 3 years ago

When this app is running a whole working day, around 8-10 hours, then it uses around 1GB of RAM, whereas after launching it "only" needs around 35-40MB of RAM. IMHO, the latter is also too much for such a simple app, but I get the convenience of building an electron app.

Anyway, I'm very thankful having this app, but if you decide to tweak it performance wise, then this guide could be a start.

Keep up the good work!

tryhardfifi commented 3 years ago

Oof! Now I know why nobody recommended using electron... Right now I am full of exams til february but after that I will fix this :)

And when I say fix I mean change the framework again haha. I wrote a quickdemo in the first framework (nw.js) your guide suggested but, at least in mac, I could not transport the window above other fullscreen apps. Nonetheless it transported the window to any workspace I moved to. I need to see if it's the same for ubuntu. If it transports this over fullscreen in ubuntu this will be fairly easy to port :)

Thanks again for pointing this out! I hope you can still enjoy it until I fix the performance issue!

sojusnik commented 3 years ago

Right now I am full of exams til february but after that I will fix this :)

Good luck and happy breathing :)

sojusnik commented 3 years ago

BTW, neutralino.js looks very promising for your use case, especially considering this.

sojusnik commented 3 years ago

Just wanted to ask if you're still interested to port this to a more resource-friendly framework?

tryhardfifi commented 3 years ago

Hey! I can't believe your timing haha, just finished exams. Did you put it in your calendar or something? 🥇 I will have a look at this, this week :)

sojusnik commented 3 years ago

Hehe, just intuition, my friend :)

I hope you've done well with your exams!

sojusnik commented 3 years ago

Hey!

Are you still planning to improve this app?

tryhardfifi commented 3 years ago

Hey I am so sorry, I have been very busy. I hope I get to do it someday but I do not have any time in the near future :( Sorry again.