Hi,
I have a requirement like Create a new XML request using some of the XML elements of incoming virtual service XML request and send this request to multiple downstream systems.
I have used 25 xml xpath filters to save these elements and constructed a new request message using parse text as response step.
Incoming VS XML request: > 2500 lines of XML
constructed XML - 170 lines of XML - (Many of the elements are parameterized using xpath filters - dynamic values)
constructed XML after the filter property values are substituted : 3000 lines of XML
I'm unable to save this file , the workstation is getting hanged when try to save. I have checked the workstation.log and observed stackover flow error.
2019-04-23 11:26:08,190Z (16:56) [AWT-EventQueue-0] ERROR System.err - Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
2019-04-23 11:26:08,194Z (16:56) [AWT-EventQueue-0] ERROR System.err - at com.itko.lisa.test.ParseInState.parseInState(ParseInState.java:276)
2019-04-23 11:26:08,194Z (16:56) [AWT-EventQueue-0] ERROR System.err - at com.itko.lisa.test.TestExec.parseInState(TestExec.java:1952)
2019-04-23 11:26:08,194Z (16:56) [AWT-EventQueue-0] ERROR System.err - at com.itko.lisa.test.TestExec.parseInState(TestExec.java:1934)
2019-04-23 11:26:08,195Z (16:56) [AWT-EventQueue-0] ERROR System.err - at com.itko.lisa.test.TestExec.parseInState(TestExec.java:1930)
I have also tried to increase the stack memory to 4MB but still facing the issue.
Below are the contents of my workstation.vmoptions
# Enter one VM parameter per line
# For example, to adjust the maximum memory usage to 512 MB, uncomment the following line:
-Xms2048M
-Xmx4096m
-Xss4m
# To include another file, uncomment the following line:
# -include-options [path to other .vmoption file]
Thanks,
Venkatesh