-
Notifications
You must be signed in to change notification settings - Fork 220
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
Paparazzi does not follow TestTaskReports
configuration
#1825
Comments
Yep, 1G heap probably isn't enough to snapshot a view that large without resizing. Also this looks like you are generating a video using Paparazzi html reports are in addition to junit test reports. As I am not sure that field should disabled reports for paparazzi as well junit repots, I agree that providing a way to disable the html report gen would be helpful. |
Is this because the intermediate representation of the image data is an uncompressed bitmap? (
No we are not 😅
|
Gotcha, yep I didn't have a chance to look at the code but that makes sense it uses the APNG writer. 😆
Potentially, I would need to dig in. Could you provide a project reproducing this issue. It would be very helpful 🙏🏽 |
@geoff-powell here is a reproduced: You can run the following test: gradlew :paparazzi-gradle-plugin:test --tests app.cash.paparazzi.gradle.PaparazziPluginTest.verifyMemory --rerun The |
We are trying to disable the HTML test report that is generated whenever Paparazzi runs.
It is currently not very helpful (for us) and it is unfortunately the source of OOMs (unless we crank up the allowed max heap size) when it tries to write content of the
.temp.png
file tobuild/reports/paparazzi/*
.Stacktrace…
Gradle
Test
tasks have some properties to disable reports. And it would be great if Paparazzi would use this option, or offer a similar solution to disable its HTML report:As an example, in one of our modules, we are generating 2 screenshots, and we had to bump the heap size to ~1G to not trigger the OOM.
And the files size are not that large (although the resolution of the first image is quite big):
The text was updated successfully, but these errors were encountered: