×
Namespaces

Variants
Actions

Archived:MIDlet may fail in deallocating the memory reserved for M3G graphics object in S60 3rd Edition (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: 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.

Article Metadata
Tested with
Devices(s): Reproduced on Nokia N93 (sw version 20.0.058), Nokia N95 (sw version 11.0.026)
CompatibilityArticle
Created: User:Technical writer 1 (26 Sep 2007)
Last edited: hamishwillee (30 Jul 2013)

Overview

MIDlets may fail in deallocating the memory reserved for an M3G graphics object, and the application crashes when allocating too many 3D objects.


Description

Sometimes MIDlets fail in deallocating the memory reserved for an M3G graphics object. Because of this, allocating too many new 3D objects might crash the application. For example, using the Loader.load("filename.m3g") method iteratively can cause the M3G application to crash with (or without) an OutOfMemory error message. When the MIDlet tries to allocate memory from the heap by using memory which should be automatically deallocated but is instead still allocated, the application crashes.


Solution

Reuse the created 3D objects and minimize the amount of loaded objects.

This page was last modified on 30 July 2013, at 13:56.
50 page views in the last 30 days.
×