BlackBerry® Mobile Data System (BlackBerry MDS) Connection Service
BlackBerry smartphones based on Java® technology
When downloading content to the BlackBerry smartphone through the BlackBerry® Browser or BlackBerry Internet Service browser or through an TCP (HTTP or socket) connection using the BlackBerry MDS or BIS-B transport, there are limits on the amount of data that can be downloaded per connection. If this limit is exceeded, the BlackBerry MDS or BIS-B transport returns an HTTP 413 - Request Entity Too Large error when using HTTP or a SocketBaseIOException with the message of Exceeded the limit of number of bytes allowed per connection.
For BlackBerry MDS, this limit can be changed in BlackBerry Manager using the Maximum KB/Connection setting. In BlackBerry® Enterprise Server software versions 4.0 and 4.1, the default value is 256 KB and the maximum value for the setting is 1024 KB. In BlackBerry Enterprise Server software version 5.0, the default value is 1024 KB and the maximum value is 10,240 KB. This limit was increased again in version 5.0.2 with the default value being 2048 KB and maximum value of 32,768 KB. For more information on changing this setting, refer to the BlackBerry Enterprise Server Administration Guide.
If the BlackBerry Browser or application is downloading specific Multipurpose Internet Mail Extensions (MIME) types, the limits can be increased for these types using the Media Content Manager introduced in BlackBerry Enterprise Server software version 4.1 Service Pack 2 (4.1.2). Content of these types are now subject to download limits as set using the Media Content Manager; all other types will be subject to the limits as defined in the Maximum KB/Connection setting.There is no restricted limit for uploading content using the BlackBerry Browser or from a Java application connecting through the BlackBerry MDS using HTTP POST.
The BlackBerry Internet Service browser has fixed download limits as shown in the following table when using BlackBerry Device Software version 5.0 and lower. There are no size restrictions for downloading using the BlackBerry Internet Service browser when using BlackBerry Device Software version 6.0 and higher.
Maximum number of bytes per connection (KB)
All multimedia MIME types
If the content does not fall into one of these MIME types, then the maximum limit is 1024 KB. There is no limit for uploading content through the BlackBerry Internet Service browser using HTTP POST.
Note: All of the above references to KB assume that 1 KB = 1000 Bytes.