当前位置:   article > 正文

【Android Studio报错】:* What went wrong:Out of memory. Java heap space_check the jvm memory arguments defined for the gra

check the jvm memory arguments defined for the gradle process in:

项目场景:

        今天,刚打开自己的安卓项目发现报错:

报错:

* What went wrong:
Out of memory. Java heap space

Possible solution:
 - Check the JVM memory arguments defined for the gradle process in:
   gradle.properties in project root directory


问题描述

* What went wrong:
Out of memory. Java heap space

Possible solution:
 - Check the JVM memory arguments defined for the gradle process in:
   gradle.properties in project root directory


解决方案:

打开Android Studio中的   File  —>  Settings —> Appearance & Behavior —> System Settings
—> Memory Settings

把各项 都调高一点  就解决问题了


如有更好的解决方法,请大家贡献在评论区,让其他迷路的孩子有个方向。


迷路

本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/454531
推荐阅读
  

闽ICP备14008679号