• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Ant : Error occurred during initialization of VM

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic