Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tFileCopy -> java.io.IOException: Insufficient system resources exist

Hi
I want to copy a file (240mb and increasing daily a few kb) using a tFileCopy component. When I run the job, it through the following error:

java.io.IOException: Insufficient system resources exist
I've looked for this problem on the forum, and althought there are some posts with similar issue, in any case there is a solution ( https://community.talend.com/t5/Design-and-Development/Getting-an-error-Insufficient-system-resource...)
Our system is
Windows Server 2003 SP2
Java 1.7.0.55
Any idea?
Thanks!!
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi xdshi
Thanks by your suggestions!!
Finally I got it using a tJava component with a jave code:
Path source = Paths.get("c:/temp/0multipage.tif");
Path target = Paths.get("c:/temp/1multipage.tif");
Files.copy(source, target, REPLACE_EXISTING); // Files.move(...) is also possible

Thanks
Cheers

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hi,
Here is a related jira issue https://jira.talendforge.org/browse/TDI-24258.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi xdshi
Thanks by your suggestions!!
Finally I got it using a tJava component with a jave code:
Path source = Paths.get("c:/temp/0multipage.tif");
Path target = Paths.get("c:/temp/1multipage.tif");
Files.copy(source, target, REPLACE_EXISTING); // Files.move(...) is also possible

Thanks
Cheers
Anonymous
Not applicable
Author

Hi mtbabel,
Thanks for posting this code... Many people encounter this issue of file copy with larger files.
Thanks
Vaibhav
Anonymous
Not applicable
Author

Hi mtbabel,
Thanks for sharing your solution with us. Could you please mark this topic as resolved? This way, other users will be informed that this thread has been resolved.
Many thanks
Best regards
Sabrina