M
M
mrdragon90002016-12-26 14:12:40
Java
mrdragon9000, 2016-12-26 14:12:40

The Java Virtual Machine says it doesn't have enough RAM. What to do?

When compiling a cordova project, the virtual machine asks for 2 GB of RAM, but I only have 1.4 GB on my laptop.
What should I do?
Maybe you can somehow reduce the gluttony of Java?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
aol-nnov, 2016-12-26
@aol-nnov

> not enough operative. What to do?
memory is cheap these days. buy more!

R
Rou1997, 2016-12-26
@Rou1997

Option 1) Transfer the assembly to a VPS or just another computer.
Option 2) Solve the problem "piece by piece" - start by compiling ordinary Android applications using Eclipse, android.bat and in notepad, understand what is the reason, come up with something and apply it to Phonegap, the process is long, without experience it will not work right away, I have never had less than 2 GB, so there is nothing specific to advise.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question