Problem:
FTP reader cannot proceed with OPTIMITY INTEGRATION - java.lang.OutOfMemoryError: Java heap space error in application message.
checked int server logs ifsconnect,intserver and other logs and could find "Caused by: java.lang.OutOfMemoryError: Java heap space" error on intserver logs,
-
Checked the heap dump and could not find heap issue.
-
in this generated xml file
one xml contains 75mb and other one is 56 mb,
however file reader can read, For a 2GB heap space can process about 100 MB file. For larger files will have to increase the heap space allocated for the Integration Server accordingly. -
This issue was resolved by increasing int server memory up to 8 gb (both int servers 16gb) and that was processing file with 8GB heap memory. As of now this issue is sorted temporally . But in future if this file grows beyond 56MB this issue can reoccur in same environments and tweaking the memory in-between managed servers no longer will be a solution
Suggestion to avoid this issue
- file size can be reduced my compressing before writing the file to the FTP location. This has to be done by teh customer end
- optimize this optimity integration when writing file in to FTP location
- find an alternative way to archive this process without using ifs connect
Requested From RnD
Are there any limitations to IFS Connect, and are there opportunities for optimizing its performance and capabilities?"