We have developed a Java component by using the Webservices.
Usages: This component will send a request to Cloud based Server. (Request is based on SOAP Messages)
Webservice request will send the FileUniuqeID and in response we are getting the file contents and downloading the file from cloud server to local server.
Problem Scenario: This java component are working fine for file size <250 MB. The moment we get the size >250 MB, our component are getting fail and throwing the java heap memory full error and terminate.
Requirement: Java component able to download the max 1GB file from cloud server.
Existing App Server hardware configuration:
Window Standard Edition
AMT Processor
4 GM RAM.
Technical Queries:
Can we increase the 4GB to nnGB and download the max 1GB from cloud? (What would be RAM needed to download the 1gb file from cloud?)
What would be max java heap memory configured in latest JDK version? Is there any limit?
What kind of hardware / software require to download the large file (1GB) from cloud ?
Is it a problem of web service? (but error was related to java heap memory full)
Kindly provide the solution related to java heap error.
Deepak