2

I am using jenkins to deploy my java project. But I am keep getting bellow error for particulate project.

Could not create the Java virtual machine.
Error occurred during initialization of VM
Could not reserve enough space for object heap

Can anyone please tell me how to fix this?

Adam Arold
  • 29,285
  • 22
  • 112
  • 207
Roshanck
  • 2,220
  • 8
  • 41
  • 56

1 Answers1

1

The server you are running Jenkins on does not have enough memory to support the default settings. Check out this question for more information on how to adjust (lower in your case) the amount of memory Jenkins uses.

Community
  • 1
  • 1
anon
  • 4,163
  • 3
  • 29
  • 26