-
Notifications
You must be signed in to change notification settings - Fork 339
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
Ways to specify thread stack size #1008
Comments
If that future is a large set of async functions you may be able to break it up manually using a pinned box for some memory indirection, which should help I think. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When we are trying to spawn a memory costy task with async-std
async_std::task::spawn(some_future())
It throws
thread 'async-std/runtime' has overflowed its stack
Although we can solve this problem with the following code:
But if async_std also has the specified task stack size, it can save some time.
The text was updated successfully, but these errors were encountered: