Skip to content

libnotificationmanager: reduce memory usage from images

Fushan Wen requested to merge work/fuf/spotify into master

Reason for the change

Some applications often send notifications with images. While there is a maximum number limit of notifications, 1000 QImage with 256x256 size can still take 250MB memory. This limits the maximum image cache to reduce the memory usage.

Test plan

Send 101 notifications with images

Screenshots or screen recordings

Bugs fixed

Merge request reports

Loading