Developers

Local Navigation

Home > Developers > Developers Knowledge Base

Back

What Is - TooManyThreadsError

Last Updated: 07 June 2006
Article Number: DB-00474

Summary

This article applies to BlackBerry® wireless devices based on Java™.


Description

A single application can create up to 16 threads. The total number of threads that can exist on a BlackBerry device from all applications is 128. Therefore, if an application has already created 16 threads, the 17th attempt fails and a TooManyThreadsError exception is thrown. Similarly, if there are 128 threads already created on the BlackBerry device and an application attempts to create another thread, a TooManyThreadsError exception is thrown.


Keywords

TooManyThreadsError, maximum number of threads, thread, threads, limit