Huge herd of cows and terrifying Stack Overflow Error

I never though that huge herd of cows can be the reason of Stack Overflow Error in Java. Yes, that’s true. It happened to us :)

So, the other day we were playing Minecraft and Miki started to drop red cow eggs like a crazy. We had huge island fully filled with cows. Lots of fun, fouling around until it happened

---- Minecraft Crash Report ----
// You're mean.

Time: 6/12/20, 5:38 PM
Description: Watching Server

java.lang.Error
        at app//akt.c(SourceFile:21)
        at app//akt$$Lambda$855/0x0000000840439c40.test(Unknown Source)
        at app//cal.a(SourceFile:546)
        at app//bjw.a(SourceFile:857)
        at app//bjo.a(SourceFile:49)
        at app//apf.a(SourceFile:24)
...
...

It turned out that our server started to throw Stack Overflow exception each time we have started it. It seems like our good old pal – Intel(R) Atom(TM) CPU D510 @ 1.66GHz with mere 4GB of ram has a cow number limit ;)