Ha4aJlbHuk_4a9l
Ha4aJlbHuk_4a9l
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
😅 GC seems to be smarter than me, i'll trust it more
26 replies
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
Oh thanks for that! I just unsuspended all my browser tabs to get 90+% memory load and the working set really dropped from 150mb to 20mb
26 replies
CC#
Created by Lufthansa on 5/15/2023 in #help
❔ Need help with LunarVim Nerd Font Icons
or if you didn't update your fonts to 3.0.0 then revert the web-devicons, probably you updated it so it tries to give you the icon with new address while you still have it on the old one
4 replies
CC#
Created by Lufthansa on 5/15/2023 in #help
❔ Need help with LunarVim Nerd Font Icons
they still have a C# icon on different unicode code, update your web-devicons
4 replies
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
It's actually writing some data to disk and starting process too in Refresh() method but the method which starts process already has its own GC.Collect()
26 replies
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
There is one more suspect which is process's redirected output reading there https://github.com/ShinyZero0/I3helper.cs/blob/main/I3IPC/I3.cs#L66. Afaik the stream's data should be cleaned after i read it tho 🤔 and i dispose everything that can be disposed, but calling GC there removed memory usage grow too
26 replies
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
maybe not or not only the processes are guilty, i just tried separate suspected parts of program and what i discovered is Process.Start() probably leaking memory
26 replies
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
i waited for like 5-10 minutes
26 replies
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
how often should it clean up?
26 replies
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
if i hold the keybinding (with pretty frequent repeat rate) it grows by like 3mb/second
26 replies
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
and my program is kind of a daemon so it's inacceptable to leak memory
26 replies
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
Thanks, i'll try to understand what it does
26 replies
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
I just use one CLI ipc client because i'm afraid i'll break even more stuff if i do it with sockets (i have some partial success tho) and i switch workspaces in https://i3wm.org/docs/ipc through ipc on a keybinding so i can launch processes pretty frequently
26 replies
CC#
Created by Ha4aJlbHuk_4a9l on 5/14/2023 in #help
❔ I somehow cause memory leak with Process.Start()
I haven't learned how to do profiling stuff yet and honestly profiling 10 lines of code sounds bad
26 replies