Android Question Java was updated and suddenly no longer compiles any project

Status
Not open for further replies.

desof

Well-Known Member
Licensed User
Today I find that I do not compile a project and provide with another and another and there is no case and until last week there were no problems. I went to look at the list of programs and had automatically updated Java (yesterday) on my computer with Windows 7 Sp1 (64).
Uninstall the JAVA update to see if that corrected the problem BUT NOTHING. Still it is not possible to generate a .apk here is the error that shows me in one of them.

What I can do ?

B4X:
B4A Versión: 8.50
Parseando código.    (0.02s)
Building folders structure.    (0.08s)
Compilando código    (0.02s)
Compilado código de diseños    (0.00s)
Organizando librerías.    (0.00s)
Generando el fichero R.    (2.32s)
Compilando el código Java generado.    (6.40s)
Convirtiendo byte code a dex optimizado.    Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
Picked up _JAVA_OPTIONS:  -Xmx256m -Xms256m
 

angel_

Active Member
Licensed User
I have the same problem:

B4X:
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOfRange(Arrays.java:3664)
    at java.lang.String.<init>(String.java:207)
    at com.android.dx.rop.cst.CstString.utf8BytesToString(CstString.java:158)
    at com.android.dx.rop.cst.CstString.<init>(CstString.java:200)
    at com.android.dx.cf.cst.ConstantPoolParser.parseUtf8(ConstantPoolParser.java:420)
    at com.android.dx.cf.cst.ConstantPoolParser.parse0(ConstantPoolParser.java:271)
    at com.android.dx.cf.cst.ConstantPoolParser.parse(ConstantPoolParser.java:153)
    at com.android.dx.cf.cst.ConstantPoolParser.parseIfNecessary(ConstantPoolParser.java:127)
    at com.android.dx.cf.cst.ConstantPoolParser.getPool(ConstantPoolParser.java:118)
    at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:505)
    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)
    at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
    at com.android.dx.command.dexer.Main.processOne(Main.java:756)
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:650)
    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:315)
    at com.android.dx.command.dexer.Main.runDx(Main.java:293)
    at com.android.dx.command.dexer.Main.main(Main.java:249)
    at com.android.dx.command.Main.main(Main.java:94)
Picked up _JAVA_OPTIONS: -Xmx1024m -Xms1024m
But I don't find _JAVA_OPTIONS
 
Status
Not open for further replies.
Top