Avatar

Level 1
  • I have recorded with fiddler the traffic between eclipse and the server (soap requests and answers)

  • The answer is :

    <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?>

    <soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;>

    <soapenv:Body>

    <soapenv:Fault><faultcode>soapenv:Server.generalException</faultcode>

    <faultstring>java.lang.OutOfMemoryError: Java heap space; nested exception is:

    java.lang.OutOfMemoryError: Java heap space</faultstring>

    <detail><ns1:hostname xmlns:ns1=&quot;http://xml.apache.org/axis/&quot;>XXXXXXXXX</ns1:hostname></detail></soapenv:Fault>

    </soapenv:Body>

    </soapenv:Envelope>

  • So I have an OutOfMemory on the server !

  • There is no trace of on an outofmemory on the server ... strange !

  • If I switch from -Xmx1024m to - Xmx2048m on the server

  • The server is able to respond BUT

  • The soap answer is around 100Mb

  • My eclipse cannot handle this

So my question is answered : I know that this OutOfMemory comes from the server

So my question is not answered : The server returns to much information