Modify

Opened 4 years ago

Closed 4 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

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

Download all attachments as: .zip

Change History (3)

by Bjoeni, 4 years ago

Attachment: 20793.gpx-memory.diff added

comment:1 by simon04, 4 years ago

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

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. 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.