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

Integration test out of memory for API 29 #73

Closed
jingtang10 opened this issue Jul 1, 2020 · 5 comments · Fixed by #116, #193 or #294
Closed

Integration test out of memory for API 29 #73

jingtang10 opened this issue Jul 1, 2020 · 5 comments · Fixed by #116, #193 or #294
Assignees

Comments

@jingtang10
Copy link
Collaborator

jingtang10 commented Jul 1, 2020

In recent github action runs for PRs, tests for API 29 consistently failed due to out of memory issue. e.g:

com.google.fhirengine.db.impl.DatabaseImplTest > select_invalidResourceType_shouldThrowIllegalArgumentException[test(AVD) - 10] FAILED
java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw an exception; no stack trace available

See trace: https://github.com/google/android-fhir/runs/824594488

Note this doesn't happen for API 24 or 27, nor does this happen locally.

@deepankarb
Copy link
Contributor

This might be fixed by #74. Will close if the next few actions succeed.

@deepankarb
Copy link
Contributor

Still seeing OOM failures on some branches.

@deepankarb deepankarb reopened this Dec 2, 2020
@jingtang10 jingtang10 linked a pull request Dec 3, 2020 that will close this issue
@jingtang10
Copy link
Collaborator Author

A more recent run: https://github.com/google/android-fhir/runs/2054399134?check_suite_focus=true

This blocked code submission over the weekend. We should treat this as high-priority.

@jingtang10 jingtang10 linked a pull request Mar 8, 2021 that will close this issue
@jingtang10
Copy link
Collaborator Author

Related issue: ReactiveCircus/android-emulator-runner#131

@jingtang10
Copy link
Collaborator Author

This has not been happening - let's close for now and reopen if recurs.

FHIR engine library automation moved this from In progress to Done May 11, 2021
JoseAlcerreca added a commit to android/nowinandroid that referenced this issue May 12, 2022
looks like 29 has memory issues google/android-fhir#73
JolandaVerhoef added a commit to android/nowinandroid that referenced this issue May 12, 2022
* Add github-specific setup

Change-Id: Iad8edf3c16182807eda6893c696244d9147f7cab

* Update Build.yaml

Replaces cC for cAT

* Filters out benchmark tests

* Trying to increase storage with disk.dataPartition.size

* Increasing size a bit more for API 23

* Remove API 23

* Reverting, using correct param name

* Increase again to 1500M

* heap=512M

java.lang.OutOfMemoryError: java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw an exception; no stack trace available

* replace 29 for 31

looks like 29 has memory issues google/android-fhir#73

* API 30

* Arch x86_64 as there's no API 30 x86

Co-authored-by: Jose Alcérreca <JoseAlcerreca@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment