-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crashes during long heatmapping drives(over 30 min) #2083
Comments
From the dicussion on Reddit, I suspect this may be an out of memory issue. As mapping / charts aren't needed, I'll add an option to disable these, as it should reduce memory requirements significantly, and also add some extra debug. |
Thank you.
I also plan to try some of the other suggestions from the Reddit thread regarding power , and using my alternate phone device. An opportunity for a session to test for that should come in the following days.
Can I ask, is it possible to help with this potential memory issues by having an option to change the data interval from "x records per second, to "1 record per x meters"? That would make it work exactly as my huge Anritsu SiteMaster in mapping mode, and can really save on data volumes.
Get TypeApp for Android
…On Apr 24, 2024, 1:40 a.m., at 1:40 a.m., srcejon ***@***.***> wrote:
From the dicussion on Reddit, I suspect this may be an out of memory
issue. As mapping / charts aren't needed, I'll add an option to disable
these, as it should reduce memory requirements significantly, and also
add some extra debug.
--
Reply to this email directly or view it on GitHub:
#2083 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
I regret to report that the crashing continues. I recently went for a couple hours' drive and found that the app seems to either freeze, or crash after around 15-25 minutes of steady-state data collecting. It doesn't seem to matter if I save the .CSV file after 15 minutes(it's super hard to remember to pull over and fiddle with the phone when I'm by myself) and start anew, it will still crash eventually. I wasn't able to identify where/how to alter the data collection settings to reduce the number of points, nor how to disable the map generation aspect of the app which may or may not be contributing to the amount of memory being taken. |
To minimize memory usage:
You can set Data to None, which will stop the image from being created - but I've just realised this needs to be set in order to save .csv data so isn't going to help you. I'll need to add a separate button. |
OK, had a chance to go for another drive. I now believe that the the culprit was the display chart. It has not crashed once since keeping the chart display off, or clearing the chart regularly by toggling it on/off while keeping the heatmap csv data. I'm guessing that with the chart left to run, it overflows with data after the 20 min period(longest setting), thus crashing the app. Perhaps it can be fixed to side-scroll the chart, and discard the older data? I like having the long-term window display because I'm measuring broadcast FM and other wide-area signals, so being able to see in realtime, how measurements are trending vs time is really insightful. I can use the graph and my visual situation to learn about the RF environment. I have been able to drive for an hour, and save all of the data to one single CSV at the end. |
Yep - in HeatMapGUI::addToPowerSeries we're not catching std::bad_alloc if we run out of memory while adding data to a chart series. |
…rt and disable it. For f4exb#2083
…rt and disable it. For f4exb#2083
Per my Reddit thread,
I've been struggling with app crashes while drive mapping, takes a little over half an hour to occur. "Keep screen on" is ticked, and it doesn't seem to matter if i'm interacting with the app or not, it just disappears and all map data lost. I have developed a 'habit' of stopping to save CSV, then continue mapping, which works ok.
maybe related: SDRAngel must be in foreground or else it stops collecting/crashes after a very short time... is that part expected, or is it a clue?
Galaxy S23 with 8GB RAM,
SM-S911W with stock ROM.
Android 14, OneUI 6.1
RTL_SDR generic dongle with Q-branch port/filter"full band" option.
Doesn't seem to matter if I'm mapping in Q branch or tuner.
External power(Dock/hub) or standalone both tested.
The text was updated successfully, but these errors were encountered: