What crate are you using?
You may need to share more code related to how your IbrokersSyncHandler
trait is interacting with the types in that crate as well.
That error message seems to be saying something requested an allocation of more than 18 million terabytes which uhhhh yeah I'm not surprised that crashed.