Closed linkpy closed 4 years ago
From the process explorer of VSCode, the memory leaks is related to the "extensionHost" process.
"C:\Users\linkie-pi\AppData\Local\Programs\Miocrosoft VS Code\Code.exe" --inspect-port=0 "c:\Users\linkie-pi\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork" --type=extensionHost
I narrowed down the memory leak origin : It happens when i try to stop the godot process by pressing the stop button from VSCode debugger. If i close godot directly, the memory leak doesn't happen. It happen after pressing the stop button.
Futhermore, when pressing the stop button in vscode, the godot's window isn't closed.
Before any debugging session :
After a single debugging session (which crashed because of missing resource) :
And it keep increasing, even if there is nothing running now in vscode. 30sec after :
I dont know if this comes from the original QuickJS debugger or if it comes from the fork for godot, and sadly i have no idea how i can find that out.