Closed Bug 846690 Opened 11 years ago Closed 11 years ago

hyphenation manager should discard loaded dictionaries on memory-pressure notification

Categories

(Core :: Internationalization, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

(Whiteboard: [MemShrink])

Attachments

(1 file)

We load the hyphenation resources on first use, but then we keep them in memory so that we won't kill performance by having to do the (expensive) dictionary-loading operation for every line-break.

However, if we're really low on memory, we should discard the dictionaries (which may potentially occupy quite a few megabytes, if hyphenation has been attempted for several languages with large dictionaries).
Assignee: nobody → jfkthame
Attachment #719915 - Flags: review?(smontagu) → review+
Whiteboard: [MemShrink]
https://hg.mozilla.org/mozilla-central/rev/5040d4861a8d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: