question

g4m3c0d3r avatar image
g4m3c0d3r asked

GameCircle 2.0 consuming 100+ threads all of the time...

I’ve been working on optimizing one of our games and I’ve just noticed that the GameCircle 2.0 SDK is sparking off 100+ threads and never releasing them. Is there a reason why GameCircle needs so many threads all of the time? Granted all of them are sleeping most of the time, but that seems like an excessive amount threads to require 100% of the time. It looks like some code in GameCircle is using the Executors factory with newFixedThreadPool() set to the number of achievements, but then forgetting to call shutdown() on the ExecutorService. FYI: http://www.vogella.com/articles/JavaConcurrency/article.html#threadpools
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi, Thank you for your valuable feedback. We have reported concerned team regarding this issue. They are investigating to optimize the number of threads we have (even idle) at one time. We would release new version of SDK (optimized one) shortly.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.