We have identified a misconfiguration in our deployment that results in the thread stack size not being set to the values that are listed in the documentation. We are working on a fix for this in a future release, but for now you can:
Download and edit the CFT for your compute stack (i.e. the compute stack for 454-8573 is at https://s3.amazonaws.com/datomic-cloud-1/cft/454-8573/datomic-production-compute-454-8573.json).
Find the line:
"JvmFlags": "-Dclojure.spec.skip-macros=true -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -XX:MaxDirectMemorySize=256m"
And add -Xss1024k to the end, inside the string:
"JvmFlags": "-Dclojure.spec.skip-macros=true -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -XX:MaxDirectMemorySize=256m -Xss1024k"
Then use the “Update Stack” function on your compute stack, replace the template with your modified one and launch it.
This will get your java thread stack set to a larger size.
We will update this thread when a fix for this is included in a future release.
NOTE: You should use the -Xss settings specified in the table here: https://docs.datomic.com/cloud/ions/ions-reference.html#jvm-settings (512k for solo, 1m for production)