Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Espanol
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 2nd, 2007, 01: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
__________________
U can contact me for any configuration management related issue
Reply With Quote
  #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
Reply With Quote
  #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
Reply With Quote
  #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: 14%
Activity: 14% Activity: 14% Activity: 14%
 
Join Date: Dec 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is very nice post thanks a lot....!!!
__________________
Johni
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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



All times are GMT -4. The time now is 02:35 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.