Modify

#20793 closed enhancement (fixed)

[Patch] Reduce memory consumption for GpxExtensionCollection

Reported by: Bjoeni Owned by: simon04
Priority: normal Milestone: 21.05
Component: Core Version: tested
Keywords: gpx extension heap Cc: simon04, GerdP

Description

see ticket:16796#comment:72

This patch reduces the memory required for GpxTracks that do not use extensions by approx. 39%.

Instances of GpxExtensionCollection and Stack<GpxExtension> childStack will only be created when actually required.

Attachments (1)

20793.gpx-memory.diff (14.0 KB) - added by Bjoeni 13 months ago.

Download all attachments as: .zip

Change History (3)

Changed 13 months ago by Bjoeni

Attachment: 20793.gpx-memory.diff added

comment:1 Changed 13 months ago by simon04

Keywords: gpx extension heap added
Milestone: 21.05
Owner: changed from team to simon04
Status: newassigned

Thank you for looking into the memory consumption. I'll review/apply this patch for milestone:21.05.

comment:2 Changed 13 months ago by simon04

Resolution: fixed
Status: assignedclosed

In 17846/josm:

fix #20793 - Reduce memory consumption for GpxExtensionCollection (patch by Bjoeni, modified)

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.