# Problem with gradle

**URL:** <https://forum.ionicframework.com/t/problem-with-gradle/143818>\
**Category:** Ionic Framework\
**Created:** [October 5, 2018, 8:50pm UTC](https://forum.ionicframework.com/t/problem-with-gradle/143818 "2018-10-05T20:50:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffersonryu](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jeffersonryu](https://forum.ionicframework.com/u/jeffersonryu)\
**Post date:** [October 5, 2018, 8:50pm UTC](https://forum.ionicframework.com/t/problem-with-gradle/143818/1 "2018-10-05T20:50:44Z")

</div>

please help

 ![error%20generar%20apk](https://global.discourse-cdn.com/ionicframework/original/3X/c/8/c8223ac6baa5091fb5557a178384ed4b7002415f.png)

---

<div class="post-metadata">

**Author:** ![Ludolefrenchy](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ludolefrenchy/32/121185_2.png) [@Ludolefrenchy](https://forum.ionicframework.com/u/Ludolefrenchy)\
**Post date:** [October 5, 2018, 9:14pm UTC](https://forum.ionicframework.com/t/problem-with-gradle/143818/2 "2018-10-05T21:14:17Z")

</div>

bonsoir,  
il faut augmenter la memoire IDE  
[android](http://tools.android.com/tech-docs/configuration)

---

<div class="post-metadata">

**Author:** ![niravparsana94](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/niravparsana94/32/137813_2.png) [@niravparsana94](https://forum.ionicframework.com/u/niravparsana94)\
**Post date:** [October 6, 2018, 2:25pm UTC](https://forum.ionicframework.com/t/problem-with-gradle/143818/3 "2018-10-06T14:25:01Z")

</div>

Problem is not with Gradle. Log clearly says that “Error occured during initialiation of VM. Could not reserve enough space for \*\*\*\*\*KB object heap” that means your virtual machine needs more space to run application properly.

What you can do is following options:

1. Increase Virtual machine configuration
2. Run application in real mobile device(Recommended)

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [October 6, 2018, 6:59pm UTC](https://forum.ionicframework.com/t/problem-with-gradle/143818/4 "2018-10-06T18:59:52Z")

</div>

> [@niravparsana94](#):
>
> Run application in real mobile device(Recommended)

This seems like a strange suggestion. My mobile devices have nowhere near as much memory as my development desktop.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:13pm UTC](https://forum.ionicframework.com/t/problem-with-gradle/143818/5 "2021-07-19T21:13:44Z")

</div>

Closed on July 19, 2021, 9:13pm UTC


