0

My app is currently giving me out of memory exception and the log is something like this:

Non - rooted Nexus S phone enter image description here

Rooted Samsung note 3 phone enter image description here

Now my question is on rooted phone I can see extra information like "Failed to allocate xxxx byte allocation with xxx free bytes" etc. But on non-root phone I can't see those lines.

Does anyone know why? Thanks

m1alesis
  • 670
  • 6
  • 16
  • Are you assuming that Samsung and Google both have the same exact underlying codepaths that execute when `resizeImage` is called? – Pedantic Feb 23 '16 at 16:59
  • It doesn't matter if it's rooted or not, I can have it show the byte allocation on non rooted devices as well. I think it's just system code dependent since Samsung runs it's own interface flavour of Android (TouchWiz) similarly when you connect some Samsung devices you might see something like `UnsatisfiedLinkError` which stems from TouchWiz – Pztar Feb 23 '16 at 17:05
  • @UnsatisfiedLinkError So is there a way that I can show byte allocation on Nexus S phone? This is so that I can know how much the app was trying to allocate and how much byte I had left at the moment of exception. – m1alesis Feb 24 '16 at 09:08
  • @Pedantic Do they not ?? – m1alesis Feb 24 '16 at 09:09

0 Answers0