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

Crashed at start #5

Closed
HQP2022 opened this issue Oct 20, 2022 · 1 comment
Closed

Crashed at start #5

HQP2022 opened this issue Oct 20, 2022 · 1 comment

Comments

@HQP2022
Copy link
Collaborator

HQP2022 commented Oct 20, 2022

H:>java -jar i-ncript-1.4.1.jar
true
Exception in thread "Thread-4" java.lang.OutOfMemoryError: Java heap space
at java.base/com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:729)
at java.base/com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:436)
at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2205)
at com.i_comit.windows.AES.doCrypto(AES.java:92)
at com.i_comit.windows.AES.encrypt(AES.java:44)
at com.i_comit.windows.AES_T.lambda$AESQuery$0(AES.java:151)
at com.i_comit.windows.AES_T$$Lambda$150/0x0000000800d4c000.accept(Unknown Source)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at com.i_comit.windows.AES_T.AESQuery(AES.java:149)
at com.i_comit.windows.AES.lambda$AESThread$0(AES.java:32)
at com.i_comit.windows.AES$$Lambda$139/0x0000000800d47820.run(Unknown Source)
at java.base/java.lang.Thread.run(Thread.java:833)

@khiemgluong
Copy link
Member

Closed as not Planned because this is a duplicate of Issue #4 (also caused by not enough memory allocation on the heap). Added a console output in Release 1.4.3 which will report to you the amount of available heap space your PC has, which should filter out files that go over that maximum heap size.

@khiemgluong khiemgluong closed this as not planned Won't fix, can't repro, duplicate, stale Oct 21, 2022
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