views:

333

answers:

1

hiiii
I want to know how memory is managed in blackberry to execute different applications simultaneously and with the help of which internal file or program or anything plz help me

thanks in advance

+3  A: 

Memory Management

It's all about Java Virtual Machine which is a part of OS:

The BlackBerry® Java® Virtual Machine manages memory usage on the BlackBerry device. The BlackBerry JVM allocates memory, performs garbage collection, and automatically swaps data between SRAM and flash memory. The BlackBerry JVM must also share available memory between the BlackBerry device applications and the BlackBerry® Java Application. The memory capabilities represent the total amount of available memory, which is larger than the available working memory when all of the applications and associated application data exist on the BlackBerry device.

BlackBerry Java Development Environment - Fundamentals Guide - Memory Management

See also
SO - BlackBerry memory usage
SO - Stack size on BlackBerry?

Memory usage statistics

You can use Blackberry IDE or BB Eclipse plugin Profiler for profiling
A50 How to Debug and Optimize

Or BB API for runtime stats:
net.rim.device.api.system.Memory
net.rim.device.api.system.MemoryStats

See also
BlackBerry Support Community Forums - Blackberry Processes

Max Gontar