When I try to destroy my sim or viewer, I get the following error:
free(): invalid next size (fast)
And then the program exits improperly. This only happens after loading many assets (around 60 cabinets). It takes around 20G GPU memory. When memory usage is smaller, the issue does not happen.
I wonder if there is a way to resolve this issue. It seems to be related to the following issues: