Hello!
The program compiles for a very long time (more than 120 seconds), and then the compilation freezes without a clear error messages.
The open compilation window weighs.
Message:
B4A Версия: 9.80
Java Версия: 8
Анализ кода. (0.01s)
Building folders structure. (0.02s)
Компиляция кода. (0.13s)
Компиляция кода макетов. (0.00s)
Организация библиотек. (0.00s)
(Android Support Library)
Генерирование файла R. (0.00s)
Компиляция кода для работы отладчика. (0.00s)
Компиляция сгенерированного кода Java. (0.00s)
Преобразование байтового кода - оптимизированный dex. Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.io.DataInputStream.<init>(DataInputStream.java:59)
at com.android.dx.util.ByteArray$MyDataInputStream.<init>(ByteArray.java:356)
at com.android.dx.util.ByteArray.makeDataInputStream(ByteArray.java:260)
at com.android.dx.cf.direct.StdAttributeFactory.parseLocalVariables(StdAttributeFactory.java:601)
at com.android.dx.cf.direct.StdAttributeFactory.localVariableTable(StdAttributeFactory.java:553)
at com.android.dx.cf.direct.StdAttributeFactory.parse0(StdAttributeFactory.java:189)
at com.android.dx.cf.direct.AttributeFactory.parse(AttributeFactory.java:96)
at com.android.dx.cf.direct.AttributeListParser.parse(AttributeListParser.java:142)
at com.android.dx.cf.direct.AttributeListParser.parseIfNecessary(AttributeListParser.java:115)
at com.android.dx.cf.direct.AttributeListParser.getList(AttributeListParser.java:106)
at com.android.dx.cf.direct.StdAttributeFactory.code(StdAttributeFactory.java:336)
at com.android.dx.cf.direct.StdAttributeFactory.parse0(StdAttributeFactory.java:150)
at com.android.dx.cf.direct.AttributeFactory.parse(AttributeFactory.java:96)
at com.android.dx.cf.direct.AttributeListParser.parse(AttributeListParser.java:142)
at com.android.dx.cf.direct.AttributeListParser.parseIfNecessary(AttributeListParser.java:115)
at com.android.dx.cf.direct.AttributeListParser.getEndOffset(AttributeListParser.java:96)
at com.android.dx.cf.direct.MemberListParser.parse(MemberListParser.java:213)
at com.android.dx.cf.direct.MemberListParser.parseIfNecessary(MemberListParser.java:108)
at com.android.dx.cf.direct.MethodListParser.getList(MethodListParser.java:54)
at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:565)
at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:420)
at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:402)
at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:253)
at com.android.dx.command.dexer.Main.parseClass(Main.java:851)
at com.android.dx.command.dexer.Main.access$7(Main.java:846)
at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1822)
at com.android.dx.command.dexer.Main.processClass(Main.java:834)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:802)
at com.android.dx.command.dexer.Main.access$3(Main.java:773)
at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1775)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
The program compiles for a very long time (more than 120 seconds), and then the compilation freezes without a clear error messages.
The open compilation window weighs.
SimplePGP - Encrypt, Decrypt, Sign, Verify
This is a wrap around this Github-project. It wraps the Android Part of it using some additional jars from bouncycastle and spongycastle for the Encryption Provider A B4J Version is available here. I just did it out of curiosity :) Based on the Size of the Additional jars you need to download...
www.b4x.com
Message:
B4A Версия: 9.80
Java Версия: 8
Анализ кода. (0.01s)
Building folders structure. (0.02s)
Компиляция кода. (0.13s)
Компиляция кода макетов. (0.00s)
Организация библиотек. (0.00s)
(Android Support Library)
Генерирование файла R. (0.00s)
Компиляция кода для работы отладчика. (0.00s)
Компиляция сгенерированного кода Java. (0.00s)
Преобразование байтового кода - оптимизированный dex. Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.io.DataInputStream.<init>(DataInputStream.java:59)
at com.android.dx.util.ByteArray$MyDataInputStream.<init>(ByteArray.java:356)
at com.android.dx.util.ByteArray.makeDataInputStream(ByteArray.java:260)
at com.android.dx.cf.direct.StdAttributeFactory.parseLocalVariables(StdAttributeFactory.java:601)
at com.android.dx.cf.direct.StdAttributeFactory.localVariableTable(StdAttributeFactory.java:553)
at com.android.dx.cf.direct.StdAttributeFactory.parse0(StdAttributeFactory.java:189)
at com.android.dx.cf.direct.AttributeFactory.parse(AttributeFactory.java:96)
at com.android.dx.cf.direct.AttributeListParser.parse(AttributeListParser.java:142)
at com.android.dx.cf.direct.AttributeListParser.parseIfNecessary(AttributeListParser.java:115)
at com.android.dx.cf.direct.AttributeListParser.getList(AttributeListParser.java:106)
at com.android.dx.cf.direct.StdAttributeFactory.code(StdAttributeFactory.java:336)
at com.android.dx.cf.direct.StdAttributeFactory.parse0(StdAttributeFactory.java:150)
at com.android.dx.cf.direct.AttributeFactory.parse(AttributeFactory.java:96)
at com.android.dx.cf.direct.AttributeListParser.parse(AttributeListParser.java:142)
at com.android.dx.cf.direct.AttributeListParser.parseIfNecessary(AttributeListParser.java:115)
at com.android.dx.cf.direct.AttributeListParser.getEndOffset(AttributeListParser.java:96)
at com.android.dx.cf.direct.MemberListParser.parse(MemberListParser.java:213)
at com.android.dx.cf.direct.MemberListParser.parseIfNecessary(MemberListParser.java:108)
at com.android.dx.cf.direct.MethodListParser.getList(MethodListParser.java:54)
at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:565)
at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:420)
at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:402)
at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:253)
at com.android.dx.command.dexer.Main.parseClass(Main.java:851)
at com.android.dx.command.dexer.Main.access$7(Main.java:846)
at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1822)
at com.android.dx.command.dexer.Main.processClass(Main.java:834)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:802)
at com.android.dx.command.dexer.Main.access$3(Main.java:773)
at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1775)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
Last edited: