robot crashing on OS X
The Java garbage collector on OS X 10.6 sometimes does not release the robot's threads. During long-running tests, this leads them to piling up and crashing when they reach the process limit. We really don't even need multiple threads since they all join the previous one anyway.
An alternative to creating threads and joining them to the previous thread is to reuse a single thread. The Executor class in Java provides precisely this behavior.
Change History (3)
Owner: |
changed from alex to haysmark
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
(In [24979]) Pool robot threads, vastly reducing the amount of resources consumed. Fixes #12969.