A
A
AbnormalUnit2011-11-18 00:38:44
Java
AbnormalUnit, 2011-11-18 00:38:44

"Could not reserve enough space for object heap" error?

Mistake

Error occurred during initialization of VM<br/>
Could not reserve enough space for object heap

arises and disappears somehow spontaneously from time to time. With what it can be caused?
For any action, be it java or java -version
Windows 2008 Server R2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kreativf, 2011-11-18
@kreativf

Usually, in this way, Java swears that it does not have enough memory (at all, even for the elementary actions you described). This happens most easily in virtual machines if you are greedy when assigning RAM.
You can try to set the Java memory limit when calling the program: java -mx256m %programname%.
As a last resort, kill something on the server and try to free memory before restarting the program.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question