Skip to content

Commit

Permalink
Increased threads memory
Browse files Browse the repository at this point in the history
  • Loading branch information
radifier committed Sep 17, 2022
1 parent 38891bb commit 967d53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccminer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2809,7 +2809,7 @@ int main(int argc, char *argv[])
proper_exit(EXIT_FAILURE);
}

thr_info = (struct thr_info *)calloc(opt_n_threads + 4, sizeof(*thr));
thr_info = (struct thr_info *)calloc(opt_n_threads + 5, sizeof(*thr));
if(thr_info == NULL)
{
applog(LOG_ERR, "Out of memory!");
Expand Down

0 comments on commit 967d53b

Please sign in to comment.