Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Performing a lot of system calls causes Groovy to die on Linux with an IOException for "Too many open files". The cause is streams which are left open by system calls:
(1..n).each
{ "ls".execute().text }This method should be changed to close all streams after it gets the text from them.
Attachments
Attachments
Issue Links
- is superceded by
-
GROOVY-5058 Improved process execution
- Open