-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Changing themes in a running instance overflows memory over time. #221
Comments
Each theme applied stay 3 process WmiPrvSE.exe running on Windows. |
Hold up, could that be a windows specific issue? |
After others tests, several exe stay in live after change theme on Windows. I don't have tested on other OS. List on windows :
|
Damned, that looks bad. Processes are related to systeminformation dependency i believe, but they should close. Handling of node.js child processes on windows is a fucking unbearable mess and that's an understatement. Thanks for the detailed info, @gandf . I'll see what i can do. |
This code create processes. This code should destroy processes but it doesn't do it before close app. |
Yeah doing a namespace cleanup before shutting down is not a bad idea. Will implement this ASAP and see if it helps things. |
I think, solution 2 can works with taskkill : |
@dvdmuckle Could you please confirm on which OS you first had the issue? |
@GitSquared Fedora 28. |
(self-note: fix by implementing a |
Using the file browser, if you change the theme of eDEX-UI a number of times, it starts to slow down and eventually grinds to a halt with the message
[17916:0100/000000.413673:FATAL:memory.cc(22)] Out of memory. size=262144
. It appears that when reloading a theme, the previous session is still being saved in memory, or something like that. This takes a number of theme changes to trigger on a machine with 16gb of RAM, though a smaller machine like my 8gb laptop doesn't take many theme changes.The text was updated successfully, but these errors were encountered: