-
Notifications
You must be signed in to change notification settings - Fork 527
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
Detect stack overflow and reduce stack usage on debug build #1465
Comments
I would like to take
If those words aren't enough to explain the approach I would like to take, I can submit a draft PR to make it clear with code. |
I spent some time manually run Detail
And here is some large struct(in byte):
In this example, sqlparser consume about 140KB stack at peak, so I think there is little to optimize in |
related to apache/datafusion#12731
The issue is that unoptimized(debug) build consume more stack memory, which known to cause stack overflow if stack size is less than 1MiB.
Expected change:
The text was updated successfully, but these errors were encountered: