Shell script loop runs out of memory

Buchbinder, Barry (NIH/NIAID) [E]
Thu May 31 20:52:00 GMT 2012

The following are just ideas - totally untested.

You might try changing
    [[ condition ]]
    [ condition ]
Perhaps single brackets use memory differently than double brackets.

If that doesn't work, try changing
(which calls bash) to
You will have to have retained the double to single bracket change,
because dash does not have double brackets.  Perhaps dash is more
efficient with memory than bash.

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list