7

I am just wondering what is the difference between Total Private Dirty,Total Pss,Total Shared Dirty. Though the explanation is on the website it doesn't really make any sense to me.

getTotalPrivateDirty() Return total private dirty memory usage in kB.

getTotalPss() Return total PSS memory usage in kB.

getTotalSharedDirty() Return total shared dirty memory usage in kB.

I would like to understand what are the piratical applications of these. I do understand PSS as I've read quite abit about it. But not the other two

Jonathan
  • 2,728
  • 10
  • 43
  • 73
  • Probably because you just explained what they return, but did not explain what you don't understand. – Tim Post Oct 23 '12 at 03:01
  • 4
    Not sure why people seem to thinks this is not a question. Maybe rephrase it. In any case, read this for extensive info: http://stackoverflow.com/questions/2298208/how-to-discover-memory-usage-of-my-application-in-android/2299813#2299813 – Nikolay Elenkov Oct 23 '12 at 03:03
  • I'd like to know the answer. Which one to use while displaying memory usage for a user? Should we sum up all of them or what? – Stan Aug 22 '13 at 21:27

1 Answers1

-5

public int getTotalSharedDirty ()

Return total shared dirty memory usage in kB.

public int getTotalPrivateDirty ()

Return total private dirty memory usage in kB.

public int getTotalPss () PSS (Proportional Set Size)

Return total PSS memory usage in kB.

Jay
  • 1,474
  • 9
  • 13