cygpath: out of memory

Buchbinder, Barry (NIH/NIAID) [E] BBuchbinder@niaid.nih.gov
Tue Jan 5 15:10:00 GMT 2010


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



More information about the Cygwin mailing list