Hi,
Just to add to Rob’s response.
The webMethods IS is a JVM.
A string is a class of it own and not a primitive data type ( like int,float…etc). when a String is created, JVM allocates memory for the object, and stored in a reference, say ‘X’. when you create a new string object and assign to the reference ‘X’, the memory allocated for the previously created string will still exist on the JVM memory. For any string object the allocated memory has to be deallocated in order to prevent memory leaks.
Thanks and Regards,
Rajkumar
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB