Replies: 4 comments 2 replies
-
The cause of the issue is not visible in the code you have shared with us, unfortunately. That said, I will add this: The difference between the two snippets is that using |
Beta Was this translation helpful? Give feedback.
-
Hi @Darksonn. I ended up using I will try to create a minimal reproducible example and play around a bit. Hope I find some useful insights to report back. |
Beta Was this translation helpful? Give feedback.
-
Something is going on here with how your futures within the loop are getting desugared and resulting in the future size blowing up. I don't know enough about how this happens in the compiler to say what's going on though. Something to start with: can you check what the size of the resulting top-level future for this function is, both with the |
Beta Was this translation helpful? Give feedback.
-
Now I am facing the same error message when inserting into a DashMap: xacrimon/dashmap#244 @Noah-Kennedy do you want me to determine the size (not the length) of each |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys!
I am facing an issue I cannot really understand. I have a bunch of handles (only 11):
After creating the futures I would like to await the results. First I was awaiting all of them at once but I then decided to await them sequentially.
But when replacing
with
my app crashes with
thread 'tokio-runtime-worker' has overflowed its stack fatal runtime error: stack overflow
This is something I cannot understand.
tokio-console
didn't help me in identifying the root cause. Do you have any ideas?Thanks
Beta Was this translation helpful? Give feedback.
All reactions