New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sourcery eating up 12GB of memory... #230
Comments
Hi @Eagleames , Do you perhaps have some ideas under which circumstances this occurs? We'll let you know when we have a fix for this. Cheers, |
Howdy! But then I just told VSCode to close everything and all windows but two closed. The weirdest thing is that it maintained high memory through the closing of one more window, and then with only a tiny project where i was just learning to use mechanicalsoup it didn't go away. Frankly i don't think that was the cause (but rather that other larger projects somehow got it in a loop or something... But no way to know. |
It used 6.6Gb memory when I test some simple and short python scripts :( > ps -eo size,pid,user,command | grep -i 'sourcery' | grep -v 'grep' | awk '{ hr=$1/1024 ; printf("%.2fMB\t%s",hr,$4)}'
7017.96MB /home/wxz/.vscode/extensions/sourcery.sourcery-0.11.4/sourcery_binaries/install/linux/sourcery |
Hey @Eagleames and @WXZhao7 - thanks for providing some context on this. We made a couple of tweaks in Sourcery 0.11.5 (released 2022-05-18) to reduce the memory footprint. I was wondering if you've noticed any improvement? |
@bm424 Yeah, it only cost around 500mb now. Thanks for your support :) |
That's great, glad to hear it's working better for you. I'm going to close this issue for now, but feel free to get in touch again. |
Issue description or question
Not sure what happened, only went away when I closed all of my VScode windows...
Clearly got run away eating up tons of memory!!
Sourcery Version
v0.11.2
Code editor or IDE name and version
VSCODE 1.66.2
OS name and version
Windows 10 21H2
The text was updated successfully, but these errors were encountered: