I am using Groovy document builder for dynamically generating pdf files in development environment now and have plans to put it in production. While in development i observed some random behaviour by the API and i managed to create a dummy code to demostrate it.
when i run the code
-
It never returns , keeps running and consuming jvm heap
-
At certain point CPU usage becomes very high heap and parm gen gets full but i do not get any outOfMemoryException that is strange.