-
Notifications
You must be signed in to change notification settings - Fork 0
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
Caused by: java.lang.OutOfMemoryError: Java heap space #417
Comments
https://www.jetbrains.com/help/idea/increasing-memory-heap.html I allocated 4096MB, 8192MB, but was not enough. |
OutOfMemoryError was raised at
This message tells that DiffMPGProcessor is trying to stuff a diff of PNG while the left Material was NULL_OBJECT. Is it worth? --- No. |
|
I added src/test/java/issues/Issue416Test.java So I am able to study how to fix this problem. |
I added a test case in
The left image has the size of 1440 × 576, it looks like this: The right image has the size of 3445 × 4872, it looks like this: These 2 PNG images are very different.
OutOfMemoryError was raised at |
com.kazurayam.materialstore.base.reduce.DiffingMPGProcessor#stuffDiffByDiffer() tries to make a diff of 2 PNG images
It is a mistake. The left Material was NULL_OBJECT, therefore the stuffDiffByDiffer() should abandon making a diff. I should regard
as a diff result. |
done at v0.16.2 |
|
done at 0.16.6-SNAPSHOT |
I created
src/test/java/issues/Issue416Test.java
It failed due to OutOfMemoryError
The text was updated successfully, but these errors were encountered: