kingrukawa / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

OutOfMemory Error #105

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Sorry i can't be much help on how to reproduce this, it's coming in from a 
production app.

getting quite a lot of lines in my crash doc with the following stack trace 
(I've also left in other pertinent info)

anyone got any ideas what might be causing it?  I'm guessing that ACRA is 
actually crashing as a secondary to out of memory?  but although i know what 
i'm doing with normal java, i'm a lot less familiar with monitoring memory etc 
on android, and of any special conditions i should be putting in my app to try 
and keep check on memory.  it's a cocos2d app, with some quite large 
spritesheets (most of the apps 5.7Mb footprint is images but they're loaded as 
spritesheets, and only when needed, and cleared off when not being used).

All the errors seem to come from this one device, we've got 50+ users and 

any thoughts guys?  thanks

device samsung  GT-P6200    
android 3.2
Total Memory 13900259328
Available Memory    8566743040
Stack Trace java.lang.OutOfMemoryError
    at java.io.BufferedReader.<init>(BufferedReader.java:97)
    at java.io.BufferedReader.<init>(BufferedReader.java:80)
    at org.acra.CrashReportData.load(CrashReportData.java:318)
    at org.acra.CrashReportData.load(CrashReportData.java:261)
    at org.acra.ErrorReporter.loadCrashReport(ErrorReporter.java:984)
    at org.acra.ErrorReporter.checkAndSendReports(ErrorReporter.java:959)
    at org.acra.ErrorReporter$ReportsSenderWorker.run(ErrorReporter.java:142)

** MEMINFO in pid 8365 [com.antapps.fielddesigner] **
                    native   dalvik    other    total
            size:    10960    65543      N/A    76503
       allocated:     8831    65302      N/A    74133
            free:     1900      241      N/A     2141
           (Pss):     5083     1763    77723    84569
  (shared dirty):      988     1584     7144     9716
    (priv dirty):     5060      920    73144    79124

 Objects
           Views:       31        ViewRoots:        0
     AppContexts:        5       Activities:        3
          Assets:        5    AssetManagers:        5
   Local Binders:       19    Proxy Binders:       14
Death Recipients:        1
 OpenSSL Sockets:        0

 SQL
               heap:      139         MEMORY_USED:      139
 PAGECACHE_OVERFLOW:       28         MALLOC_SIZE:       46

 DATABASES
      pgsz     dbsz   Lookaside(b)          cache  Dbname
         4       48             14        0/200/0  webview.db

 Asset Allocations
    zip:/data/app/com.antapps.fielddesigner-1.apk:/assets/fonts/disparador_stencil.ttf: 40K
    zip:/data/app/com.antapps.fielddesigner-1.apk:/assets/fonts/disparador_stencil.ttf: 40K

Original issue reported on code.google.com by RichardH...@gmail.com on 6 Jan 2012 at 9:14