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 in testDeepScanLineBasic #1347

Merged

Conversation

peterhillman
Copy link
Contributor

The valgrind analysis test is failing due to excessive memory requirements on large deep images. Reducing the image size should get the test through, so will do for now, though this is less effective at testing for issues caused with large images.

Maybe there should be macro that could be defined to limit memory consumption of the tests for such situations.

Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
@cary-ilm
Copy link
Member

Thanks for figuring out the valgrind failure! This sounds like a good situation for a build-time setting. The fuzz tests could set it large, but valgrind can set it low. What valgrind is testing for shouldn't depend on memory size, so small should be fine.

@cary-ilm cary-ilm merged commit 0603cc2 into AcademySoftwareFoundation:main Mar 3, 2023
cary-ilm pushed a commit to cary-ilm/openexr that referenced this pull request Mar 3, 2023
cary-ilm pushed a commit that referenced this pull request Mar 5, 2023
Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
@cary-ilm cary-ilm added the v3.1.6 label Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants