Memory leak may occur when data is sent in large chunks in S60 (Known Issue)
Article Metadata
Compatibility
Platform(s): S60 3rd Edition + FP1 + FP2, S60 5th Edition
Device(s): All S60 3rd Edition + FP1 + FP2, S60 5th Edition devices
Article
Created: User:Kbwiki
(02 Jul 2010)
Last edited: hamishwillee
(01 Aug 2012)
Overview
A memory leak may occur when large data chunks are sent in multipart requests using HttpConnection.
Description
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.
Solution
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.


(no comments yet)