MustEat.org

Last updated: 06:32PM 05/12/08

Java ME doesn’t have a Runtime.maxMemory() function. Runtime.totalMemory() returns the current memory space of the JVM, but under Symbian devices this can grow dynamically during operation. As such we can’t accurately determine if a particular device will be able to accept and process a large data set from the network in advance.

You can attempt to fill the space by allocating space, but this can cause problems for other applications running in the background on my advanced devices like Symbian.

Tags:
weblog Java Java ME Symbian