bc-java
bc-java copied to clipboard
CI on pull requests
Some test are failing with OutOfMemoryException
I started to find workarounds or exclude them, but I stopped this, because for me it's a bigger question:
What are you doing to have that much memory consumption ? Is this really practicable ?
I'm guessing but are the tests related to Argon2 and Scrypt?
Yes, one of them is Argon2Test the others I forgot
As long as it's not merged, you see no output. But you can download report from my test-pull request here https://github.com/hannesa2/bouncycastle/pull/1/checks?check_run_id=1902628057
This is the first error
java.lang.OutOfMemoryError: Java heap space
at org.bouncycastle.crypto.generators.Argon2BytesGenerator$Block.<init>(Argon2BytesGenerator.java:630)
at org.bouncycastle.crypto.generators.Argon2BytesGenerator$Block.<init>(Argon2BytesGenerator.java:621)
at org.bouncycastle.crypto.generators.Argon2BytesGenerator.initMemory(Argon2BytesGenerator.java:153)
at org.bouncycastle.crypto.generators.Argon2BytesGenerator.doInit(Argon2BytesGenerator.java:144)
at org.bouncycastle.crypto.generators.Argon2BytesGenerator.init(Argon2BytesGenerator.java:74)