[Solved] Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap

This error occurs during initialization of VM could not reserve enough space for 1572864kb object heap
when configuring android with idea

Solution:

Modify the memory a little smaller:

it’s successful

Read More: