Home » Java » java – Jvm using 8 gb ram for one Soap Service request-Exceptionshub

java – Jvm using 8 gb ram for one Soap Service request-Exceptionshub

Posted by: admin February 25, 2020 Leave a comment

Questions:

I am using AbstractWebServiceClient and there is a wsdl file that generated classes with wsimport.
SoapUi getting response approximately in 1 minute and 55 mb of text.

On application server, I have to give -Xmx8096M, because of OutOfMemoryError .

Here is some screenshots from Visual VM. (Intellij debug mode – JDK 1.8.0_241)

enter image description here

enter image description here

How can I detect memory leak ?

How to&Answers: