AnsweredAssumed Answered

How to handle VSESizeExceededException

Question asked by Benoit_B on Jul 12, 2018
Latest reply on Sep 24, 2018 by Benoit_B

Hi Team,

 

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.

 

Benoit

Outcomes