Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Espanol
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Espanol section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 2nd, 2007, 12:24 AM
Registered User
 
Join Date: Jul 2007
Location: gurgaon, hyrana, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error occurred during initialization of VM

Hi All,

when i am trying to sign my jar file through ant i am getting following error:

Error occurred during initialization of VM,
Could not reserve enough space for object heap

If any one can help me out then please .........
I am waiting for replies...........

Thanks
Dinesh choudhary

U can contact me for any configuration management related issue
  #2 (permalink)  
Old December 4th, 2007, 05:35 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

Try running the signing process as a separate process, and providing custom memory settings for this process.
You can use the <jvmarg> inner tag for the <java> tag to set -Xms and -Xmx attributes.
-Xms takes starting JVM memory
-Xmx takes maximum JVM memory allowed.

See the following link for how to use these tags
http://ant.apache.org/manual/index.html


- Rakesh
  #3 (permalink)  
Old December 4th, 2007, 05:35 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

http://ant.apache.org/manual/CoreTasks/java.html


- Rakesh
  #4 (permalink)  
Old December 10th, 2014, 07:54 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is very nice post thanks a lot....!!!


Similar Threads
Thread Thread Starter Forum Replies Last Post
error occurred... craft Dreamweaver (all versions) 1 November 1st, 2008 04:31 AM
unexpected error has occurred tworkman BOOK: ASP.NET Website Programming Problem-Design-Solution 20 July 1st, 2007 09:49 PM
error:Exception occurred hastikeyvan Classic ASP Professional 1 September 13th, 2006 04:40 AM
Error occurred during initialization of VM elisabeth Java Espanol 2 October 8th, 2004 09:50 AM
Setup Initialization Error RobinR MySQL 1 April 6th, 2004 02:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.