This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygpath: out of memory
- From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder at niaid dot nih dot gov>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 5 Jan 2010 10:03:29 -0500
- Subject: cygpath: out of memory
Upgrading from 1.5 to 1.7 I started getting an error message from
cygpath where I hadn't previously. This can be exemplified by the
following.
$ cmd /c dir /s /b o:\\ | cygpath -u -f - | wc
cygpath: out of memory
20029 20029 332488
While I've fixed my problem*, I thought that the cygwin developers
might want to know.
* xargs is my friend. For the record, here is my fix.
$ cmd /c dir /s /b o:\\ | tr '\n' '\0' | xargs -0 cygpath -u | ...
Thanks for all the work that all the developers have put into cygwin.
- Barry
Disclaimer: Statements made herein are not made on behalf of NIAID.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple