Modify

Opened 3 months ago

Closed 3 months ago

Last modified 3 months 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 Changed 3 months ago by simon04

Resolution: fixed
Status: assignedclosed

In 15993/josm:

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

comment:2 Changed 3 months ago by Klumbumbus

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

comment:3 Changed 3 months ago by simon04

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.