asthac:PS: No attached output vsdx file from your side. Please resend.
We are doing performance testing again with our application.
As mentioned above we are using:
JDK version: jdk 1.6
IDE: Eclipse Juno Service Release 2
OS: Windows 8.1
We are generating the VSDX drawing with 107 pages. Drawing report is as:
DrawingReport.PNG (7.2 KB)
If we are using max VM heap size 1024m. Drawing is generated 3 times easily. But when we go for 4th time. Performance degrades. 5tm time it takes too long to generate drawing.
With max heap size 2048m. We are able to generate same file 6 times easily and after that performance degrades.
We have analyzed our application with Visual VM and created heap dump. Here is the screenshots of Heap dump and Visual GC.
Most of instances present are of UnitFormulaErr, DoubleValue and BoolValue classes and they are consuming maximum memory. Visual GC also shows that Old gen space is completely fill and objects are not getting garbage collected.
Note: We are creating different Diagram each time.
We are having large cases and we want better performance . Performance is very good when we generate drawing first time. But it degrades as we generate it multiple time. Is there any solution to this problem?
We need your code snippets to replicate the performance issue in our environment. We tried to prepare a code example as per your description, but the performance is not downgrading gradually. Your response is awaited.
We have again analyzed our application code and found that problem was residing in our application logic. We are sorry for inconvenience caused to your team.
It is nice to hear from you that the problem has been resolved. Please feel free to let us know when you require any assistance.