Android Question Compilation Error

Douglas Farias

Expert
Licensed User
Longtime User
i have a new error i dont know what this
my recent alterations is

instaled b4a 8.2

Parsing code. 0.07
Compiling code. 0.15
Compiling layouts code. 0.03
Generating R file. 0.29
Compiling debugger engine code. 2.61
Compiling generated Java code. 2.50
Convert byte code - optimized dex. Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.android.dx.cf.code.Ropper.<init>(Ropper.java:377)
at com.android.dx.cf.code.Ropper.convert(Ropper.java:345)
at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:282)
at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:139)
at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:94)
at com.android.dx.command.dexer.Main.processClass(Main.java:682)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:634)
at com.android.dx.command.dexer.Main.access$600(Main.java:78)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:572)
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:596)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:498)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:264)
at com.android.dx.command.dexer.Main.run(Main.java:230)
at com.android.dx.command.dexer.Main.main(Main.java:199)
at com.android.dx.command.Main.main(Main.java:103)
Optimized dexer failed. Switching to Standard dexer.
 

Douglas Farias

Expert
Licensed User
Longtime User
works

changed the MaxRamForDex=512 to MaxRamForDex=600 and works

Left=-4
Top=-4
ClientSizeWidth=600
ClientSizeHeight=600
FontName=Courier New
FontSize=10
FontBold=False
WindowState=True
TabSize=4
WordWrap=False
AutoSave=True
TvSubsWidth=228
ShowToolTips=True
DesignerTopMost=False
CompileMode=1
NumberOfRecentFiles=1
RemoteCompilationMode=False
TestCompileWhenSaving=True
DisplayHexValues=True
RecentFile1=C:\Users\Douglas\Desktop\Achou Ganhou\achou ganhou.b4a
MaxRamForDex=600
UseOptimizedDexer=True
OptimizedDexerPort=36729
DesignerDesktopPort=36728
DesignerDevicePort=5000
ProcessesTimeoutSeconds=30
SignKeyFile=C:\Users\Douglas\Documents\key.keystore
SignKeyPassword=a1b529
DebugDesktopPort=12121
BackgroundGuiThreadInterval=1000
SignKeyAlias=b4a
PlatformFolder=C:\Program Files (x86)\Android\android-sdk\platforms\android-19
ToolsFolder=C:\Program Files (x86)\Android\android-sdk\tools\
JavaBin=C:\Program Files (x86)\Java\jdk1.7.0_60\bin
AdditionalLibrariesFolder=
SharedModulesFolder=
SavedIp1=192.168.25.4

thx nj
 
Upvote 0
Top