H1emu / h1emu-launcher

A launcher application used to download, patch and launch Just Survive as well as download and install H1Emu server files.
https://h1emu.com/
GNU General Public License v3.0
24 stars 11 forks source link

Launcher use too much ram #15

Closed QuentinGruber closed 1 year ago

QuentinGruber commented 1 year ago

95% of the ram used is "unmanaged memory" idk what's that? pictures ? node files loaded and keeped in memory ?

Eavilaswayce commented 1 year ago

Been trying to look into this, but I don't see anything. The launcher uses about ~250mb RAM while open, with and without the image carousel operating. Were you doing anything with the launcher when you noticed that usage?

QuentinGruber commented 1 year ago

image @Eavilaswayce By using jetbrain dotmemory i found out about these 95% of the ram used is "unmanaged memory", idk if it is something we can fix or not or even if this is a normal behavior

QuentinGruber commented 1 year ago

Could be somehow node binaries ? that you store on memory ?

Eavilaswayce commented 1 year ago

I think this is 95% of the ~500mb of RAM that the launcher has used in total from opening that is unmanaged? Like it's not 95% of the computers RAM, at least that's what I thought originally. In this case I don't think it's an issue as of right now

QuentinGruber commented 1 year ago

I think this is 95% of the ~500mb of RAM that the launcher has used in total from opening that is unmanaged? Like it's not 95% of the computers RAM, at least that's what I thought originally. In this case I don't think it's an issue as of right now

Yep it's 95% of the program RAM usage, yeah it's not really a top tier issue but could be cool to know what are these. If there is a way to reduce it it would be a really nice improvement on the RAM usage. ( idk i feel like 500mb is a lot for a launcher that doesn't process and render that much stuff, will investigate maybe that's just C# wpf stuff )

QuentinGruber commented 1 year ago

image Well i just tried to run an hello world WPF and it still have this 95% unmanaged memory usage, I guess we can't do much about it