This is the mail archive of the
mailing list for the Cygwin project.
Re: Shell script loop runs out of memory
2012/5/31 Eliot Moss <email@example.com>:
>> 1. ÂDoes "fewer forks" mean that some forks are still occurring, thus the
>> memory crash will still happen, but not right away? ÂJust delaying the
>> inevitable, for longer than my original script does?
> I think so, assuming the problem is that forks are not getting fully
I think so too ; when I intensively script under Cygwin, I have to
reboot after some time because the machine runs out of memory.
I made some tests, forks are clearly the root cause yes, they are not
Make an infinite loop with no fork, and look at the memory usage.
Then, make an infinite loop with one fork and look at the memory :-/
I really hope a solution will be found one day :-)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple