Sorry guys, I rarely use the forums, I'll post here what I did,
I use UniServerZ
I found a thread saying to raise the thread stack. I didn't know what it was first but found out it is in
after that they stated that depending on if u are 32 bit or 64 bit, if 64 bit which i am u should use 256k thread stack, 32 bit (not sure but if i remember correctly) it is 124k
and after that problem is solved