cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joesan <>
Subject Apache CXF SOAP Client GC OutOfMemoryError
Date Wed, 06 Jan 2016 11:20:19 GMT
I'm having a Apache CXF client which is causing OutOfMemory issues. Here is
the source code for the client:

I'm omitting the unwanted stuff in the code snippet below! This snippet is
inside a method called callWebService()

Here is the client factory as a final variable on the enclosing class!

The method that sets the context!

Now the callWebService method is called every minute. When the application
starts, only one instance of this client is created and with that single
instance, every minute the call to callWebService is made. This setup
results in an OutOfMemory error after some time. 

My client uses the following dependencies and running on Java 7:

    "org.apache.cxf" % "cxf-rt-bindings-soap" % "3.1.4"
    "org.apache.cxf" % "cxf-rt-transports-http-jetty" % "3.1.4"

Any clues?

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message