Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
Memory leak may occur when data is sent in large chunks in S60 (Known Issue)
A memory leak may occur when large data chunks are sent in multipart requests using HttpConnection.
A memory leak may occur when large files (over 5 MB) are sent in large data chunks (40-50 kilobytes and up in size). On some devices, this results in an OutofMemory Exception and an application exit, while on others the application will hang.
For all S60 Editions affected by the issue, the solution is to use data chunks less than 40-50 kilobytes in size for multipart HTTP requests.
In addition, a software fix will be available in the latest version of Java Runtime for Symbian, from S60 5th Edition devices onwards.