This object is in archive! 

What can I do to improve the performance of Locus?

Nicolai shared this question 8 years ago
Answered

Hello


I have noticed that the performance of Locus is getting bader from time to time on my device. At the first day, I installed Locus, it was very performant.

Can you give me some tipps to improve the performance of Locus. For example clearing any cache datas of locus or something else?

Do you think that the performance is getting bader, if you have many saved tracks or POI's?

What can I do, that Locus is as performant, as of the first day I installed Locus?


Thanks in advance!

Replies (2)

photo
1

Maybe a help topic in the online manual would be useful with general tips.

photo
1

Hi guys,

generally there is a few CPU consumers, that worth it to check:

- extra map layers - Map Overlays, WMS maps

- too much points and tracks - every device has own limits, so there are no exact numbers I may say, that since that Locus starts to be slower. I usually often use in "Data manager" > Points/Tracks tab > top button "Deselect all", which hide all points and in second tab also tracks in Locus that comes from database

- in case of geocaches, this limit is little bit lower as they are more complicated to draw on a map. Visible waypoints slow down also a little more then common points. In case of custom icons for geocaching, it is even worst

- too much of too huge loaded "Map items" - check last tab of "Data manager". Some KML maps should be really huge and may slow down whole app

- also a used map may have difference - Vector maps (LoMaps and others) and usually little bit slower, mainly on older devices

- clearing a cache should make no difference

If such information worth it to be in FAQ, it's on @Michal. Hope this helps to find a reason of slowdown. Let me know.


EDIT: ah one more note. It may happen that in app (app itself or some problem with data) occur some error. This error if happen really often, generate some log and this creating of log may slow down really a lot if happen often. If none above helps, you may try to create a log and I'll check it. Thanks

photo
1

Hmm

I have disabled all points and geocaches, so that they aren't visible at the map but the performance didn't change

I think this problem depends on my device.

Maybe I'll try to factory reset my phone at weekend. And than if the problem isen't solved, I'll try to create an log dor you

Thanks for your help Menion!

photo
1

You are welcome. Anyway if I may, rather suggest to firstly do the log and then try factory reset. Locus should not depend on something what happen with system and if there is any problem with performance based on Locus, I would rather check it over log and force you to invest few hours to factory reset.

photo
1

I just tried to take a bug report log by using this manual http://docs.locusmap.eu/doku.php?id=de:manual:faq:how_to_create_debug_log

But it doesen't work. I enabled developers options. Then I went to Locus and scrolled on the map with different zoom levels. Then I went back to the developers options, but I can't click on "bug report". It's greyed out.

By the way: My phone is running on Android 5.0.1

photo
1

Hi Nicolai,


try this app for recording the log: https://play.google.com/store/apps/details?id=com.nolanlawson.logcat

photo
1

do I need root acces to record an logfile with the app?

My phone hasn't root access

photo
1

well, Catlog needs root. Anyway, you can make bug report without it - enable developers options, switch on USB debugging mode and the greyed-out option of recording report should become active

photo
1

Hmm it seems like it won't work on my device. the bug report button inn't greyed out anymore, but my device seems not to create any logfile.

photo
1

Well, among other things, this is one that make me most crazy - required root to obtain simple log in easy and user friendly way as before. Well, thanks Google.


There is alternative third method that works on all devices, but it require some skills, so it depend if it worth it for you. Mainly because it's not 100% sure, that I'll get some useful information from this log.


To precisely measure time spend on certain operations that Locus perform, it's needed to have connected device by usb cable with special Locus version on own PC. Log is just very simple alternative. Just warning.

photo
1

OK

Which Locus version will I need for my pc? Maybe I will try it

photo
1

I just created a logfile by the third method.

I started Locus and scolled a bit on the map with different zoom levels. As I sayed at the 100% zoom level it is the smoothest. Maybe you can get some Informations of the logfile

Files: log.txt
photo
1

Good day Nicolai,


thank you for a log and sorry for hard work you had to make till log was created. Unfortunately I'm checking it quite precisely and there is absolutely nothing that should give me some hint, why it is slower for you when scale to other then 100%.

Only major difference is that images are re-scaled by device. But this should have really low effect on performance.

To get some really precise information why something like this happen, I should really need to have this device (or same problem on own device) in my hands. I'm sorry.

photo
1

OK

Next week, I have vacations, so I think I will factory reset my phone there. In my thoughts the device is generally sometimes very slow. Maybe an factory reset will help.

I will tell you if the problem is solved after factory reset.

Thanks for your efforts Menion!

Replies have been locked on this page!