Opened 2 years ago

Closed 2 years ago

#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


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 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by Bjoeni

Attachment: 20793.gpx-memory.diff added

comment:1 Changed 2 years 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 2 years 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
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.