Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#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 simon04, 4 years ago

Resolution: fixed
Status: assignedclosed

In 15993/josm:

fix #18832 - logo.svg for elemstyles.mapcss icon wastes 4MB on the heap

comment:2 by Klumbumbus, 4 years ago

Concerning hidpi I think we should rather use the logo_32x32x8.png version.

comment:3 by simon04, 4 years ago

In 15996/josm:

see #18832 - Use logo_32x32x8.png for elemstyles.mapcss

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.