2017-09-10 9 views
0

私はこのエラーを取得するエラーは、次のとおりです。無効な最大ヒープサイズ:私はアンドロイドスタジオプレビューベータ4 <br> に私のプロジェクトをビルドする際に指定したサイズが表現可能な最大サイズを超え

私が使用

Error:Error: Could not create the Java Virtual Machine. Error:Error: A fatal exception has occurred. Program will exit. Error:Invalid maximum heap size: -Xmx4g Error:The specified size exceeds the maximum representable size. Error:Execution failed for task ':Q-municate_app:transformClassesWithDexForDevDebug'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException

https://quickblox.com/developers/Sample-webrtc-android#Sourcesプロジェクトチャットビデオアプリを構築する。

+0

まあを使用しますか? –

+0

はい私のプロジェクトでは4gです –

+0

さて、エラーによると、あなたはそれを変更しようとする必要があります。どうしてそんなに大きくしたの? –

答えて

1

I use 32 bit java installation

32ビットアプリケーションでは、4GBのRAMを使用できません。したがってsize exceeds the maximum representable size

あなたは小さなヒープを使用する必要がある、またはあなたが4Gのヒープサイズを割り当てている64ビットのJava

+0

ありがとうございます。 –

関連する問題