Overflows the stack

No, the only problem is that the stack overflows due to the large number of created actors and if you reduce their number, then it all works fine. I would like to know how to get around this limitation