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

Test failure due to OutOfMemoryError #131

Closed
dennisguse opened this issue Mar 7, 2021 · 8 comments
Closed

Test failure due to OutOfMemoryError #131

dennisguse opened this issue Mar 7, 2021 · 8 comments

Comments

@dennisguse
Copy link

About a month a ago our CI started to fail on tests using large amounts of memory (actually not that large).
Beforehand everything was working fine.

Any suggestions/insights?
We can downgrade the tests to use less memory by generating less test data, but that's something I would like to avoid.

OpenTracksApp/OpenTracks#599

@dennisguse
Copy link
Author

Fixed by defining profile: Nexus 6.
So, the default emulator seems to be rather limited regarding to RAM.

OpenTracksApp/OpenTracks@70f571c

@dennisguse
Copy link
Author

Sadly, this did not solve the problem.

@dennisguse dennisguse reopened this Mar 7, 2021
@jingtang10
Copy link
Contributor

We are experiencing very similar issues: google/android-fhir#193

@dennisguse
Copy link
Author

We reduced our memory use in the tests.
Not really cool, but works for now.

If we get this option #139, we can check if we can increase the test data again.

@jingtang10
Copy link
Contributor

jingtang10 commented Apr 13, 2021

We reduced our memory use in the tests.

Hi Dennis - what did you do in order to reduce memory use? Thanks!

@dennisguse
Copy link
Author

@jingtang10 Not too much actually and we should have done this earlier:

The affected tests actually work in locally started emulators and on local devices without any trouble.

@jingtang10
Copy link
Contributor

Thanks Dennis!

@dennisguse
Copy link
Author

Did not see this issue again - seemingly reducing the memory consumption helped (although I don't know why it started failed).
Anyhow: works.

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

No branches or pull requests

2 participants