Project: appceleratorstudio
Issue TISTUD-7759: 2000 threads are created in a thread pool after re-launching app multiple times
I tried to re-launch an app multiple times (with liveview, though it doesn't matter), and Studio was kept running for more than a day. There is a slightly sluggish performance with Studio, and when I captured jstack output of the process, I did notice that there are around 1500-2000 threads created in thread pool. Essentially, for every launch, we are creating 3 threads to read error/output stream and write to input stream. Those threads are not being cleaned up after the launch is terminated. Attached jstack output.
Story points: 8