0 Replies Latest reply on May 12, 2014 3:13 AM by MaxenceMaire

    Error of compilation for IOS: Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

    MaxenceMaire

      Error of compilation for an IOS project:

       

      Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

      at adobe.abc.Algorithms$SetMap.get(Algorithms.java:226)

      at adobe.abc.Algorithms$ExprWorkQueue.add(Algorithms.java:491)

      at adobe.abc.Algorithms$ExprWorkQueue.addAll(Algorithms.java:524)

      at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:6007)

      at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4733)

      at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3615)

      at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2309)

      at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:534)

      at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:343)

      at com.adobe.air.ipa.GOAOTCompiler.convertAbcToLlvmBitcodeImpl(GOAOTCompiler.java:243)

      at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:85)

      Compilation failed while executing : ADT


      We allocate 4GB of memory for the compilator and the results is the same. The build is very long (~5 min)