You can transfer large files by the following ways:
•Increasing the field buffer size
•Increasing Secure Agent memory
Note: You can upload or download files with maximum size of 75 MB using FileIO Connector.
Increasing the Field Buffer Size
In case you need to process or transfer a large file, you must increase the body field size in both source and target section of field mapping tab. Refer field Mapping
Follow the steps given below to increase the field buffer size:
1In Field Mapping section of the synchronization task, click Edit Types and select Body field in the Source section. Refer 11.
2Edit Field Data Types dialog box appears
3Select Base64 from the list.
4Mention the character Size in the field as shown in the figure.
5Click OK.
6In the Target section, click Edit Types and select Body field next to File Content As Base64 String field as shown in figure given below.
7The Edit Field Data Types dialog box appears.
8Increase the character size in precision field of File Content as Base64 String.
9Click OK.
This will increase the file size. An error FATAL ERROR: Failed to allocate memory. Out of virtual memory is thrown, when you try to transfer the file which exceeds the maximum limit.
You can overcome the above error by increasing the secure agent memory.
Increasing the secure agent memory
To increase performance and avoid runtime environment memory issues, perform the following steps:
1In Administrator, select Runtime Environments.
2Select the Secure Agent for which you want to increase memory from the list of available Secure Agents.
3In the upper-right corner, click Edit.
4In the System Configuration Details section, select the Type as DTM for the Data Integration Service.
5Edit JVMOption1 as -Xms4056m and JVMOption2 as -Xmx4056m.
The following image shows the Details page:
6In the System Configuration Details section, select the Type as TomCatJRE
7Edit INFA_memory as -Xms256m -Xmx512m.
The following image shows the Agent Details page:
Note: The minimum and maximum values for the Java heap size are given as an example. Specify the size according to your requirements.