Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Optimize memory with MAT

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 167
    Comment on it

    We know that Garbage Collectoris a program that automatically removes unwanted data held temporarily in memory during processing. Android also have its own garbage collector but this is not always guarantee all the times so we can't ignore heap memory. We should be especially mindful of memory usage on our devices.


    Basically Android uses two types of memory like Heap memory and stack memory, both of them are used for different storing purpose like Heap memory is used to store objects and stack memory is used to store variables only.


    Creating lots of unused objects leading some error or problems like StackOverFlow exception or OutOfMemoryExceptions and crash our app.To prevent these types of error we should analyze Heap memory.


    The Eclipse Memory Analyser Tooling (MAT) is a set of plug-ins which provides a heap analyzer that helps the developer to memory leaks and high memory consumption issues.


    For installation of MAT with eclipse please follow this tutorial - http://www.vogella.com/tutorials/EclipseMemoryAnalyzer/article.html

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: