Archived:Java VM does not reuse memory in S80 2nd Edition early firmware (Known Issue)
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
The article is believed to be still valid for the original topic scope.
The article is believed to be still valid for the original topic scope.
Article Metadata
Tested with
Devices(s): Nokia 9300i, Nokia 9300
Compatibility
Platform(s): Series 80 2nd Edition
Article
Created: User:Technical writer 1
(29 Dec 2006)
Last edited: hamishwillee
(28 Jun 2012)
Description
In Nokia 9300 models with firmware older than 6.27 Java VM never shrinked heap and thus it did not release free memory to the native side. This caused the heap size to increase gradually.
In general, memory released from the MIDlet should be available for the MIDlet again. Also free memory should be released from Java VM to Symbian OS as well.
To correct this problem the VM implementation in firmware 6.27 was changed so that in Runtime.gc() releases free memory to the native side, if possible.


(no comments yet)