While playing I've run into messages telling me that I'm out of memory in the JVM and need to do 'something' about it. Looking at the JVM it's at or very near to vmx (4G). This is 100% reproducible on the current release build after a few hours of even just sitting and running my production factory.
I've attached two heap/thread dumps, and their corresponding logs are inside