• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant : Error occurred during initialization of VM

 
Tanzy Akhtar
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
While running "ant" command[ant eclipse-setup], got the following error--

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


Due to this, i am unable to build the project.
Any idea to resolve it?

Thanks,
Tanzy.
 
Tanzy Akhtar
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got the work around.

Uninstalled universal language software from my desktop.

Now everything is running fine.

But i am curious to know the reason, why such error was coming when installed the universal language software.

Thanks,
Tanzy.
 
Vijitha Kumara
Bartender
Pie
Posts: 3918
10
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tanzy akhtar wrote:Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

I think there weren't enough memory for the JVM to initialize. Did you check the processes running/their memory allocation at that point ?
 
Tanzy Akhtar
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you check the processes running/their memory allocation at that point ?


Yes Vijitha. Cross verified this.
Memory was not available.

Thanks for the point.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic