If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

java.lang.OutOfMemoryError: at java.util.HashMap.makeTable(HashMap.java)

RESOLVED WONTFIX

Status

Android Background Services
Android Sync
RESOLVED WONTFIX
6 years ago
5 years ago

People

(Reporter: Scoobidiver (away), Unassigned)

Tracking

(Depends on: 1 bug, {crash})

unspecified
ARM
Android
crash

Firefox Tracking Flags

(blocking-fennec1.0 -)

Details

(Whiteboard: [native-crash], sync, crash signature)

(Reporter)

Description

6 years ago
There's one crash in 14.0a1/20120317: bp-db0a29d6-e839-4d9c-a465-25b242120318.

java.lang.OutOfMemoryError
	at java.util.HashMap.makeTable(HashMap.java:555)
	at java.util.HashMap.doubleCapacity(HashMap.java:575)
	at java.util.HashMap.put(HashMap.java:405)
	at org.mozilla.gecko.sync.repositories.android.AndroidBrowserRepositorySession.createRecordToGuidMap(AndroidBrowserRepositorySession.java:605)
	at org.mozilla.gecko.sync.repositories.android.AndroidBrowserRepositorySession.putRecordToGuidMap(AndroidBrowserRepositorySession.java:617)
	at org.mozilla.gecko.sync.repositories.android.AndroidBrowserRepositorySession.updateBookkeeping(AndroidBrowserRepositorySession.java:626)
	at org.mozilla.gecko.sync.repositories.android.AndroidBrowserRepositorySession.replace(AndroidBrowserRepositorySession.java:515)
	at org.mozilla.gecko.sync.repositories.android.AndroidBrowserRepositorySession$1.run(AndroidBrowserRepositorySession.java:460)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
	at java.lang.Thread.run(Thread.java:856)

More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.OutOfMemoryError%3A+at+java.util.HashMap.makeTable%28HashMap.java%29

Updated

6 years ago
Whiteboard: [native-crash] → [native-crash], sync
blocking-fennec1.0: --- → -
Severity: critical → normal
Component: General → Android Sync
Product: Fennec Native → Mozilla Services
QA Contact: general → android-sync
Version: Firefox 14 → unspecified
Sounds very similar to bug 739150. Syncing a huge profile? This may get fixed when we implement batching, but we can't do much about large syncs.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
The only fix to this would be to query the database for each record lookup, rather than building a GUID map. We could perhaps set the initial size of the hash tableā€¦
Depends on: 749729
(Reporter)

Updated

5 years ago
Crash Signature: [@ java.lang.OutOfMemoryError: at java.util.HashMap.makeTable(HashMap.java)] → [@ java.lang.OutOfMemoryError: at java.util.HashMap.makeTable(HashMap.java) ]
(Assignee)

Updated

5 years ago
Component: Android Sync → Android Sync
Product: Mozilla Services → Android Background Services
You need to log in before you can comment on or make changes to this bug.