J2ME memory management tricks

Forum for J2ME mobile games related topics including programming doubts, books and other resources for J2ME game development

J2ME memory management tricks

Postby DevelopmentTeam » Tue Jul 17, 2007 11:07 am

Introduction to Garbage collection.

Garbage collection is a service that can be provided by the Java Virtual Machine to reclaim memory that is eligible for reclamation. All editions of Java (J2ME, J2SE, and J2EE) are capable of providing this service. Unlike C++ there is no way to manually delete allocated memory. The application must leave memory management in the capable hands of the JVM. For this reason there is no concept of a pointer in Java. A pointer would allow access to memory arbitrarily and this would introduce possible issues for the gc and other aspects of the JVM
User avatar
DevelopmentTeam
Site Admin
 
Posts: 661
Joined: Tue Aug 15, 2006 8:39 am
Location: India

Return to J2ME Games

Who is online

Users browsing this forum: No registered users and 2 guests

cron