-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Memory Error - Word2Vec #293
Comments
How big is your vocabulary? If I recall correctly, with a vocabulary of size |V|, the memory usage For |V|=10^7 and size=500, this is 40 GB. The simplest solution is probably to increase |
@dav009 , could you find the problem? gensim is also simply failing for me with a Memory Error although plenty of memory is available. |
As @sebastien-j says, it's best to give a more detailed report. A link (gist) to the log of your run (at INFO level) would be ideal. |
The actual problem was that on my cluster node a 32Bit Python (in an Anaconda framework) was installed, so that had nothing to do with gensim. |
@dav009 did you figure out the cause in your case? Was it 32bit Python as well? Let's try to conclude & close this ticket. |
Closing as abandoned. |
Hello, I seem to have encountered a similar issue. I'm using gensim with WinPython in one of my virtual machines with 16G memory. A model I have loads fine and works perfectly on a different system with 8GB memory in similar conditions, but when I run it in the VM, I get this:
|
@shirish93 – verify that it's the exact same Python version (both installed and specifically in use at the time of the error) on the system that works and doesn't. (That seems to have been the issue above.) |
This was right, installed 64-bit python, and the issue was resolved. Apologies for raising non-issue! |
Im running a fairly simple script[1] calling word2vec on a 15G corpus which is already tokenized.I have tried running on a 30G machine, and then on a 60G machine.
Both leading to the following error:
Any clues? Does the script contains something which is not meant to be done ?
[1] https://gist.github.com/dav009/fb9a42890d3048b3b745
The text was updated successfully, but these errors were encountered: