Tag Archives: Memory

Java check memory Allocation

By | April 7, 2012

When run the code the output will be similar to this Total memory is: 5177344 Initial free memory: 4986744 Free memory after garbage collection: 5063784 Free memory after allocation: 5045296 Memory used by allocation: 18488 Free memory after collecting discarded Integers: 5063784

Android: Conversion to Dalvik format failed: Unable to execute dex: null

By | April 28, 2011

This error often comes when your android project size is large. Try the following steps to remove the error 1. Clean the project Project > Clean 2. Increase the memory allocated in eclipse.ini Open the eclipse.ini file in the the Eclipse folder. Then edit -Xms128m to -Xmx512m or something higher Hope this help you

How to simulate an incoming call to an emulator OR Send an SMS to an emulator in ANDROID ?

By | April 12, 2011

Hello everyone…… Of course for the above question there are other ways to do it. This is one simple method Start two emulators and call each other, but the problem is it will be time consuming and memory will be consumed. Another method 1. First start your emulator and make sure it’s running. 2. Then… Read More »