Namespaces
Variants
Actions
Revision as of 06:10, 21 October 2011 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Java ME memory management

Jump to: navigation, search
SignpostIcon Graph1 52.png
Article Metadata

Article
Created: sellis (09 May 2007)
Last edited: hamishwillee (21 Oct 2011)
Memory management in Java ME

This is to describe garbage collection and memory management in general.

Garbage collection

Garbage collection is a service which clears the objects which are eligible for deletion.Like in C/C++ developer is not able to directly access the memory and clear the objects. In Java this job is taken by Garbage collector which handles this function.


Garbage collection service is called by System.gc() but this does not guarantee that JVM will activate garbage collector. Its up to JVM to decide to whether to run it or not. The objects which are eligible for garbage collection are which don't have any reference to it.

80 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved