Modify ↓
#18832 closed defect (fixed)
logo.svg for elemstyles.mapcss icon wastes 4MB on the heap
Reported by: | simon04 | Owned by: | simon04 |
---|---|---|---|
Priority: | normal | Milestone: | 20.03 |
Component: | Core | Version: | |
Keywords: | yourkit | Cc: |
Description
For the elemstyles.mapcss
icon, logo.svg
is being rendered and cached as BufferedImage
in full size (ImageResource#DEFAULT_DIMENSION
). Might be a bit too much for an icon that is shown in 16×16.
java.awt.image.BufferedImage 4_000_544
Attachments (0)
Change History (3)
comment:1 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:2 by , 5 years ago
Concerning hidpi I think we should rather use the logo_32x32x8.png version.
Note:
See TracTickets
for help on using tickets.
In 15993/josm: