Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12969 closed defect (fixed)

robot crashing on OS X

Reported by: haysmark Owned by: haysmark
Priority: high Milestone: 1.7
Component: TestFramework Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description

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)

comment:1 Changed 8 years ago by haysmark

Owner: changed from alex to haysmark

comment:2 Changed 8 years ago by haysmark

Resolution: fixed
Status: newclosed

(In [24979]) Pool robot threads, vastly reducing the amount of resources consumed. Fixes #12969.

comment:3 Changed 8 years ago by bill

Milestone: tbd1.7
Note: See TracTickets for help on using tickets.