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

栈空间不足引起的segment fault #115

Open
MarkRepo opened this issue Jul 1, 2019 · 4 comments
Open

栈空间不足引起的segment fault #115

MarkRepo opened this issue Jul 1, 2019 · 4 comments

Comments

@MarkRepo
Copy link

MarkRepo commented Jul 1, 2019

cluster_node *table[REDIS_CLUSTER_SLOTS];
这种大数组buffer不建议在栈上分配,容易导致栈空间不足的问题。

@thakurajayL
Copy link

Can you please translate it to english ?

@MarkRepo
Copy link
Author

MarkRepo commented Jul 1, 2019

This large array buffer is not recommended to be allocated on the stack, which easily leads to stack overflow.

@ghost
Copy link

ghost commented Dec 20, 2019

This large array buffer is not recommended to be allocated on the stack, which easily leads to stack overflow.

你是32位系统吧。。。

@MarkRepo
Copy link
Author

This large array buffer is not recommended to be allocated on the stack, which easily leads to stack overflow.

你是32位系统吧。。。

协程,stack有限

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