Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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: 4109
72
Hibernate Fedora Chrome
  • 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