This article applies to BlackBerry® wireless devices based on Java™.
The table below lists the maximum number of threads that can be created by a single application as well as the maximum number of threads that can exist system wide. If an application has reached its thread limit, attempting to start another thread will fail and a TooManyThreadsError exception will be thrown. Similarly, if the BlackBerry Smartphone has reached its total thread limit and an application attempts to create another thread, a TooManyThreadsError exception is thrown.
|BlackBerry Device Software Version||Maximum number of threads per application||Total maximum number of threads for all applications|
|4.5.0 and lower||16||128|
|4.6.0 to 4.7.0||64||No fixed limit|
|5.0.0 and higher||No fixed limit||
No fixed limit