Shell script loop runs out of memory
Buchbinder, Barry (NIH/NIAID) [E]
BBuchbinder@niaid.nih.gov
Thu May 31 20:52:00 GMT 2012
The following are just ideas - totally untested.
You might try changing
[[ condition ]]
to
[ condition ]
Perhaps single brackets use memory differently than double brackets.
If that doesn't work, try changing
#!/bin/sh
(which calls bash) to
#!/bin/dash
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: 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