Open Bug 838886 Opened 10 years ago Updated 9 years ago
Limit gradient patterns cache memory usage
Gradient pattern cache items could use a lot of memory per item (see bug 837542 for several MB of cached items), especially when using D2D. While less cache misses due to better cache keys would improve the overall cache memory usage (bug 838758), we might still want to impose some limit on this cache, as it can quickly grow quite large.
Correction: see bug 837542 for several hundreds MB of cached items.
So I think using immense amounts of memory is usually due to drivers doing odd things and using much more memory than expected. In general a reasonable limit here is probably something like 1000 patterns which should amount to 16MB.
Removed the MemShrink tag because we have a tag on 837542.
(In reply to Nicholas Nethercote [:njn] from comment #3) > Removed the MemShrink tag because we have a tag on 837542. May be the MemShrink tag should be inserted again here, because 837542 is replaced by this bug.
You need to log in before you can comment on or make changes to this bug.