I am using openkm webservices to manage documents & axis2 as client. When I am trying to upload a file of size 50MB via webservice, it is throwing \"java heap out of memory\" exception at the server & \"Unexpected EOF in prolog\" exception at client.
The heap size for openKM server is configured as 1GB. I am not getting why is it using so much of heap space to upload just 50MB file.
The same thing when I do without webservice i.e by directly invoking FileUploadServlet in openKM, it is working properly. I am able to upload much larger files by using FileUploadServlet directly.
Then why is it failing only for web services?
The heap size for openKM server is configured as 1GB. I am not getting why is it using so much of heap space to upload just 50MB file.
The same thing when I do without webservice i.e by directly invoking FileUploadServlet in openKM, it is working properly. I am able to upload much larger files by using FileUploadServlet directly.
Then why is it failing only for web services?