I'm getting the following error when recording java calls using an agent :
com.itko.lisa.remote.vse.VSESizeExceededException at com.itko.lisa.remote.utils.XStreamFactory$1$1.run(XStreamFactory.java:135) at com.itko.lisa.remote.utils.XStreamFactory$1.toXML(XStreamFactory.java:122)[…]Caused by: java.lang.IllegalStateException: Writer capacity as set by lisa.agent.transaction.max.graph.size or lisa.agent.virtualize.max.graph.size (1000000) exceeded at com.itko.lisa.remote.utils.BoundedStringWriter.checkLength(BoundedStringWriter.java:64) at com.itko.lisa.remote.utils.BoundedStringWriter.write(BoundedStringWriter.java:29)[…]
I've found on this post "How to handle VSESizeExceededException" that I should modify one of thoses variables :
<property comment="Maximum size in bytes of a serialized to XML object graph" key="lisa.agent.transaction.max.graph.size" value="100000"/>
<property comment="Maximum size in bytes of a serialized to XML object graph" key="lisa.agent.virtualize.max.graph.size" value="100000"/>
Which one should I increase ? Is there any good practices to do so ? And which impacts could it have on the JVM ?
Thanks for your help.
I would recommend changing both. You can change those values in the DevTest Portal.
. Login to the Portal and select Settings-->Agents in the left panel.
. Select the specific agent-->Settings-->VSE-->Maximum Graph Size and agent-->Settings-->Transactions-->Maximum Graph Size.
. Save the changes.
Thanks for the answer. I've used the ATK to upgrade thoses values.
Can you tell me which impacts could it have on the JVM ?
Hi Benoit ,
After changing values in ATK, did u restart DevTest components ? Did this solution work for you?
It worked, without restarting any compoments.
May I know what value did u set?
I've tried 10.000.000
There were still errors, but less.