GC never seems to trigger to collect all the strings being allocated in this testcase

RESOLVED WORKSFORME

Status

()

Core
JavaScript Engine
RESOLVED WORKSFORME
6 years ago
5 years ago

People

(Reporter: bz, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [js:p2][js:bumped:2][js:ni])

Attachments

(1 attachment)

Created attachment 630420 [details]
Testcase

See attached testcase.  If I run it for a bit, I get memory growth by tens to hundreds of megabytes.  If I then open about:memory, it's showing as all being string-chars from the compartment of the testcase.  As soon as I trigger a GC (eg. reload about:memory a few times) it all goes away.
Whiteboard: [js:p2:fx16]
Whiteboard: [js:p2:fx16] → [js:p2:fx17][js:bumped:1]
Whiteboard: [js:p2:fx17][js:bumped:1] → [js:p2:fx18][js:bumped:2]
Whiteboard: [js:p2:fx18][js:bumped:2] → [js:p2][js:bumped:2][js:ni]
I let this run overnight and memory usage seemed pretty stable. Is this still a problem, Boris?
Seems to be ok now.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.