Skip to content

MemoryError: std::bad_alloc #130

Answered by hczhai
Shovan-Physics asked this question in Q&A
Discussion options

You must be logged in to vote

As I explained in #129 (comment), you may set the stack_mem to some reasonable large value, it does not mean that you should set stack_mem to an arbitrarily large value. For example, if you run 16 jobs in a node, and the node has 256 GB free memory in total, the stack_mem for each job should not exceed 256 / 16 = 16 GB.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Shovan-Physics
Comment options

Answer selected by Shovan-Physics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants