Skip to content

Instantly share code, notes, and snippets.

View upadhyayap's full-sized avatar
🏠
Working from home

Anand Upadhyay upadhyayap

🏠
Working from home
View GitHub Profile
@upadhyayap
upadhyayap / ReadMe.md
Last active September 15, 2015 11:00
Issue while building pdf using PdfDocumentBuilder of Groovy Document Builder

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

  1. It never returns , keeps running and consuming jvm heap

  2. At certain point CPU usage becomes very high heap and parm gen gets full but i do not get any outOfMemoryException that is strange.