-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
scikit's GridSearch and Python in general are not freeing memory #3973
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
Comments
As this is a 2 year old issue and addresses v0.15, both GridSearchCV and joblib probably had significant changes since; @rasbt is this issue still relevant, or should it be closed? |
Haven't tried this particular setting for a while. I would say let's close it due to the reasons you mentioned, but let me just try to re-run this in the next few days to double check. |
I just ran the same code (the one that I posted on github in Dec 2014) over night and it seemed to be very stable this time (sklearn 0.18 and python 3.5) :); looks like the issue has been resolved some time ago! |
thanks for checking :) |
Hi @amueller , @rasbt ,
I'm running this code on an EC2 server with 128 GB RAM. RandomSearchCV spawns more than 5 python processes which slowly consume all the RAM and run out of memory before the execution completes. Here's the output of the 'top' command Could this issue be reopened and investigated? |
@rishabhgit I don't think this issue is relevant... |
Hi,
I recently asked a question on StackOverflow here about an issue that I encountered with scikit-learn's
GridSearch
and memory utilization.Basically, it allocated more and more memory the longer it runs after the job fails when it reaches the 128 GB on the system I am running it on. I have more details written in the StackOverflow question I linked above, and I also created a GitHub repo where I put the script and data if you want to reproduce this issue.
https://github.com/rasbt/bugreport/tree/master/scikit-learn/gridsearch_memory
The text was updated successfully, but these errors were encountered: