You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/01/29 16:34:17 UTC
DO NOT REPLY [Bug 46625] New: large outputs from sshexec
https://issues.apache.org/bugzilla/show_bug.cgi?id=46625
Summary: large outputs from sshexec
Product: Ant
Version: 1.7.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: phippela@gmail.com
The following can create out of memory in case of large files:
ssh user@host "cd /opt/BigOne; tar cf - ." | cat > BigOne.tar
or in antish
<sshexec ... command="cd /opt/BigOne ; tar cf - ." output="BigOne.tar" />
Is it possible to change code to flush the output every now and then?
Cheers,
Pekka
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 46625] large outputs from sshexec
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46625
--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2009-05-18 05:19:44 PST ---
it's actually worse than that if you are trying to work with binary output
since the task will assume any output is a string and will convert it
accordingly.
The best workaround is to redirect output on the server and scp the result,
sorry.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.