java.lang.OutOfMemoryError: at java.io.BufferedReader.<init>(BufferedReader.java)

RESOLVED FIXED in Firefox 13

Status

Android Background Services
Android Sync
P1
normal
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: Scoobidiver (away), Assigned: rnewman)

Tracking

(Depends on: 1 bug, {crash})

unspecified
mozilla14
ARM
Android
crash

Firefox Tracking Flags

(firefox13 fixed, firefox14 fixed)

Details

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

(Reporter)

Description

5 years ago
There's one crash in 14.0a1/20120318: bp-44bc58b4-400d-4c59-ad4b-02e8c2120319.

java.lang.OutOfMemoryError
	at java.io.BufferedReader.<init>(BufferedReader.java:95)
	at org.mozilla.gecko.sync.net.SyncStorageCollectionRequest$SyncCollectionResourceDelegate.handleHttpResponse(SyncStorageCollectionRequest.java:80)
	at org.mozilla.gecko.sync.net.BaseResource.execute(BaseResource.java:232)
	at org.mozilla.gecko.sync.net.BaseResource.go(BaseResource.java:254)
	at org.mozilla.gecko.sync.net.BaseResource.get(BaseResource.java:260)
	at org.mozilla.gecko.sync.net.SyncStorageRequest.get(SyncStorageRequest.java:163)
	at org.mozilla.gecko.sync.repositories.Server11RepositorySession.fetchWithParameters(Server11RepositorySession.java:226)
	at org.mozilla.gecko.sync.repositories.Server11RepositorySession.fetchSince(Server11RepositorySession.java:243)
	at org.mozilla.gecko.sync.middleware.Crypto5MiddlewareRepositorySession.fetchSince(Crypto5MiddlewareRepositorySession.java:147)
	at org.mozilla.gecko.sync.synchronizer.RecordsChannel.flow(RecordsChannel.java:132)
	at org.mozilla.gecko.sync.synchronizer.RecordsChannel.onBeginSucceeded(RecordsChannel.java:232)
	at org.mozilla.gecko.sync.repositories.delegates.DeferredRepositorySessionBeginDelegate$1.run(DeferredRepositorySessionBeginDelegate.java:57)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
	at java.lang.Thread.run(Thread.java:1019)

More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.OutOfMemoryError%3A+at+java.io.BufferedReader.%3Cinit%3E%28BufferedReader.java%29

Updated

5 years ago
Whiteboard: [native-crash] → [native-crash], sync

Comment 1

5 years ago
sync related crash?
(Assignee)

Comment 2

5 years ago
This is allocating a big buffer. Perhaps the Sharp Infobar A01 is more resource-constrained than most devices?

We can shrink that for sure.
Severity: critical → normal
Component: General → Android Sync
Product: Fennec Native → Mozilla Services
QA Contact: general → android-sync
Version: Firefox 14 → unspecified
blocking-fennec1.0: --- → ?
(Assignee)

Comment 3

5 years ago
I will be committing a change for this as soon as my interminable build finishes.
blocking-fennec1.0: ? → ---
(Assignee)

Comment 4

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/c1e32cb0678e

This drops the buffer size substantially.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla14
Priority: -- → P1
(Assignee)

Updated

5 years ago
Assignee: nobody → rnewman
https://hg.mozilla.org/mozilla-central/rev/c1e32cb0678e
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
https://hg.mozilla.org/releases/mozilla-aurora/rev/645a70acbbe2
status-firefox13: --- → fixed
status-firefox14: --- → fixed
(Assignee)

Updated

5 years ago
Depends on: 749729
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.