> I know, I just thought that perhaps someone had experienced the same issue > and would recognize it >quickly. The issue Treeform mentioned comes close to > something like that. I'll see what I can do to >create a minimal reproducible > program for the issue.
ORC/ARC seem to have problems with foreign threads. As you are using websockets there is a chance that you have some signal handling/callbacks where threads are created by the OS/Runtime system which Nim doesn't know about. What you are experiencing sounds like this problem as you eventually run out of memory. I suggest you use -d:useMalloc until this issue with ARC/ORC has been dealt with.
