|
java webServices
I have requirement of uploading more than one file to WebServices but when when i am uploading a large file which is in MB it is giving out of memory error
while iam using ByteArrayDataSource for sending the file to a method in which a webservice is called Asynchronously
DataHandler file = new DataHandler(new ByteArrayDataSource(
formFile.getInputStream(), formFile.getContentType()));
small are successfully uploaded ,where large files are thrown Exception of no heap memory in jvm
|