[2010-04-14 14:23:52 - Dex Loader] Unable to execute dex: null
[2010-04-14 14:23:52 - PracticeProject] Conversion to Dalvik format failed: Unable to execute dex: null

static 배열로 DB를 삽입하고 있었는데요.

자바 배열은 크기제한이 있어서.. 데이터가 10000개 이상 안들어가더라구요.

그래서 40만개 되는 DB를 1만개씩.. 총 40개로 나누어서 넣었더니 위와 같은 에러가 발생하네요.

소스상에 에러는 없구요... 저 에러메시지 출력후엔 프로젝트에 x 표시 뜨고 실행이 안되네요.

혹시나해서 10개씩 나눠넣어봤더니 20개 까지는 잘 들어가고, 30개넣은후에 또 똑같은 에러가 발생합니다.

해결법 아시는분.. 좀 알려주시면 감사하겠습니다.









이하 에러목록 상세보기.

java.lang.reflect.InvocationTargetException
 at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:592)
 at com.android.ide.eclipse.adt.internal.sdk.DexWrapper.run(Unknown Source)
 at com.android.ide.eclipse.adt.internal.build.ApkBuilder.executeDx(Unknown Source)
 at com.android.ide.eclipse.adt.internal.build.ApkBuilder.build(Unknown Source)
 at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
 at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
 at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
 at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
 at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
 at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
 at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:330)
 at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:178)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.OutOfMemoryError: Java heap space
 at com.android.dx.util.IntList.growIfNeeded(IntList.java:274)
 at com.android.dx.util.IntList.add(IntList.java:217)
 at com.android.dx.util.LabeledList.addLabelIndex(LabeledList.java:95)
 at com.android.dx.util.LabeledList.set(LabeledList.java:158)
 at com.android.dx.rop.code.BasicBlockList.set(BasicBlockList.java:77)
 at com.android.dx.ssa.back.SsaToRop.convertBasicBlocks(SsaToRop.java:265)
 at com.android.dx.ssa.back.SsaToRop.convert(SsaToRop.java:130)
 at com.android.dx.ssa.back.SsaToRop.convertToRopMethod(SsaToRop.java:76)
 at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:103)
 at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:74)
 at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:269)
 at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131)
 at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85)
 at com.android.dx.command.dexer.Main.processClass(Main.java:299)
 at com.android.dx.command.dexer.Main.processFileBytes(Main.java:278)
 at com.android.dx.command.dexer.Main.access$100(Main.java:56)
 at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:229)
 at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:134)
 at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:190)
 at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:122)
 at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:190)
 at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:122)
 at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:190)
 at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:122)
 at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:190)
 at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:122)
 at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:190)
 at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:122)
 at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:190)
 at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:122)
 at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
 at com.android.dx.command.dexer.Main.processOne(Main.java:247)