Higher memory usage (possible memory leak)?

Started by jordyke, October 24, 2022, 09:06:11

0 Members and 1 Guest are viewing this topic.

Andrew Heard

No obvious memory leak in 4.23.0 here.
  • Initial memory 153 MB
  • 15m later 154 MB
  • 7h later 211 MB (after tracking recording)
LM4.23.1.2 GOLD user ID:c7d47597a
  •  

balloni55

@Andrew Heard
what map and theme do you use?
which zoom range?
with map rotation?
Locus Map 4.23.1.2 Gold AFA

LM4 User ID e06d572d4
  •  

michaelbechtold

  •  

Menion

Track recording causes no problems. My test setup used an active navigation with many recalculations (maybe 30+ during a 45 min ride). So I believe it will be connected. Anyway, I promise I'll look at it during the next weeks ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  
    The following users thanked this post: ThomasD.

Andrew Heard

#34
Quote from: balloni55 on April 10, 2024, 08:04:46@Andrew Heard
what map and theme do you use?
which zoom range?
with map rotation?
Quote from: michaelbechtold on April 10, 2024, 21:51:33- map shading?
- dynamic elevation?
  • 2021-11-28 OpenAndroMaps Australia-Tasmania
  • 200m (on ruler) (whatever ZL that is I don't generally view)
  • map rotation:on
  • track recording:on
  • navigation:off
  • map shading:off
  • dynamic elevation:off
  • display is normally off (99.99% of recording time)
LM4.23.1.2 GOLD user ID:c7d47597a
  •  
    The following users thanked this post: balloni55

Andrew Heard

#35
Wrong topic I know, sorry, but charts below (time vs. battery current milliamps each 2 minutes) comparing Locus with just track recording vs. Locus with navigation and track recording. Just thought it was interesting & confirms for battery misers when riding all day why avoiding navigation mode could wring out the life of the battery before it goes flat. Ignore the -250mA spike on the 1st chart - was when camera used, not just Locus running. I have found/ discovered recently that measuring/ logging current with Tasker rather than %level is a better indication of energy usage. At 10:45 in 2nd chart, navigation stopped and was then just track recording.

@menion- I note in v4.23.1 release notes "reduced app refresh in the background when not active" - charts below are for 4.23.0 so would be interesting now to see whether this affects the battery current. Did you make this change to save battery energy?
LM4.23.1.2 GOLD user ID:c7d47597a

Menion

New Beta just published and the issue that caused memory problems on my own device should be fixed now!

https://forum.locusmap.eu/index.php?topic=8855.msg75429#msg75429

Give it a try please, thanksů
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •