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.