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
Small memory-leak causes QField-crash (and loss of currently digitzed feature) #5194
Comments
Thanks for reporting @koenigherford Are you using the native camera or not? For reference: we were in touch with Samsung and when using the native camera in combination with some memory heavy project (in the case there it was connected to a pattern fill symbology, but it's not restricted to that), when starting the camera, the Android system was closing QField to free memory for the camera. In this case it's out of our hands, as Android reserves the rights to close any app at any time, the controllable solutions were: using the builtin camera, more memory, more memoryfriendly project. |
"Use Native camera" was enabled by QField by default. Disabled it and installed "Open Camera App" as recommended. Will make a test in the field. |
You don't need "Open Camera App" any more, this is purely QField functionality. Is Open Camera still documented somewhere? |
Issue can be avoided by disabeling "use native camera" as described above |
Thanks for checking, I think we should switch the default then ... @nirvn thoughts? |
@SeqLaz IIRC you planned to adjust this documentation (and remove the reference to open camera) did you get to it? |
@m-kuhn I will add it to the documentation, but no, I did not started yet |
Describe the issue
When digitizing with a complex qgis/qfield-project (lots of fields, constraints, default values, and photo-attachements) sometimes QField crashes when adding a photo-attachment after pressing the "ok" button in the camera-mode.
This only happens after a lager bunch of collected features. But it happens sometimes a day collecting data. Once there was something like a "cache-overflow"-warning, but mostly the notice was as screenshot below.
After that it seems you have to start QField and the procect again and have to digitize the (lost) feature again -which will cause a new crash when adding a photo-attachement.
After that it seems you have to open the project again and manually close it by using "<" button.
After starting QField and the project again and collecting the feature again (with same attributes and taking a picture as before) everything will work for some hours again. So it seems not to be a reason inside the project configuration itself.
Sample-project-download-link (no cloud-project) can be provided outside this platform if you like
Desktop (please complete the following information)
Mobile (please complete the following information)
The text was updated successfully, but these errors were encountered: