Skip to content
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

Reduce memory consumed when parsing Entity List CSV #6350

Closed
Tracked by #5991
lognaturel opened this issue Aug 15, 2024 · 0 comments · Fixed by #6353
Closed
Tracked by #5991

Reduce memory consumed when parsing Entity List CSV #6350

lognaturel opened this issue Aug 15, 2024 · 0 comments · Fixed by #6353
Assignees
Milestone

Comments

@lognaturel
Copy link
Member

ODK Collect version

v2024.2.1, #6318

Android version

Android 14

Device used

Galaxy A13

Problem description

Parsing a large Entity List is currently done with JR functionality which always reads the whole instance into an in-memory XML representation. This can lead to OOM exceptions on devices like this A13.

Steps to reproduce the problem

Download a form with a large attached entity list. See an OOM.

Expected behavior

The form is parsed without using up significant memory.

Other information

Values from CSV should go directly into the database without going through the in-memory representation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: done
Development

Successfully merging a pull request may close this issue.

2 participants