[Java] OutOfMemoryError in AbstractStringBuilder.enlargeBuffer()

NEW
Unassigned

Status

Fennec Graveyard
General
7 years ago
7 years ago

People

(Reporter: mfinkle, Unassigned)

Tracking

Firefox 5
ARM
Android

Details

Stack traces 
v4.0.1 Jun 9, 2011 2:09:41 PM 0 reports/week 0% 3reports 
--------------------------------------------------------------------------------

java.lang.OutOfMemoryError
at java.lang.AbstractStringBuilder.enlargeBuffer(AbstractStringBuilder.java:97)
at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:144)
at java.lang.StringBuilder.append(StringBuilder.java:125)
at java.io.File.join(File.java:264)
at java.io.File.<init>(File.java:175)
at java.io.File.<init>(File.java:142)
at java.io.File.filenamesToFiles(File.java:1082)
at java.io.File.listFiles(File.java:1008)
at org.mozilla.gecko.GeckoAppShell.moveDir(GeckoAppShell.java:207)
at org.mozilla.gecko.GeckoAppShell.moveDir(GeckoAppShell.java:217)
at org.mozilla.gecko.GeckoAppShell.moveDir(GeckoAppShell.java:217)
at org.mozilla.gecko.GeckoAppShell.moveDir(GeckoAppShell.java:217)
at org.mozilla.gecko.GeckoAppShell.loadGeckoLibs(GeckoAppShell.java:250)
at org.mozilla.gecko.GeckoApp$3.run(GeckoApp.java:219)
at java.lang.Thread.run(Thread.java:1102)

--------------------------------------------------------------------------------

v4.0.1 Apr 29, 2011 1:11:54 AM 0 reports/week 0% 1reports 
--------------------------------------------------------------------------------

java.lang.OutOfMemoryError
at java.lang.AbstractStringBuilder.enlargeBuffer(AbstractStringBuilder.java:97)
at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:144)
at java.lang.StringBuilder.append(StringBuilder.java:125)
at java.io.File.join(File.java:264)
at java.io.File.<init>(File.java:175)
at java.io.File.<init>(File.java:142)
at java.io.File.filenamesToFiles(File.java:1082)
at java.io.File.listFiles(File.java:1008)
at org.mozilla.gecko.GeckoAppShell.moveDir(GeckoAppShell.java:207)
at org.mozilla.gecko.GeckoAppShell.moveDir(GeckoAppShell.java:217)
at org.mozilla.gecko.GeckoAppShell.loadGeckoLibs(GeckoAppShell.java:250)
at org.mozilla.gecko.GeckoApp$3.run(GeckoApp.java:219)
at java.lang.Thread.run(Thread.java:1102)
(Reporter)

Updated

7 years ago
OS: Windows 7 → Android
Hardware: x86 → ARM

Comment 1

7 years ago
I wonder if we need to use a smaller size when calling transferTo() and loop until done?
You need to log in before you can comment on or make changes to this bug.