Skip to content
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

OSError: [Errno 12] Cannot allocate memory with ccs.Summaries() #31

Closed
khdcrawford opened this issue Sep 10, 2019 · 2 comments
Closed
Assignees

Comments

@khdcrawford
Copy link
Collaborator

I'm now getting a 'Cannot allocate memory' error when creating Summaries objects, even for my small test dataset in the alignparse/notebooks directory.

I'm not familiar enough with how the pathos multiprocessing works to really know how to debug this.

@jbloom
Copy link
Member

jbloom commented Sep 10, 2019

I think this is actually a server issue rather than alignparse issue. When running on the home rhino node, it often won't allow you to get any CPUs and will throw a memory error when you try.

Just try running with ncpus=1 if you are doing this on the home rhino node and it will probably work fine.

Or use grabnode to grab a node so you aren't running on home rhino.

Does this fix it?

@khdcrawford
Copy link
Collaborator Author

Yeah, was coming to the conclusion that the error was on my end. ncpus=1 fixed it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants