This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I have modified and addded certain files related to my project work.When I run bc(buildclean)I recieve the following error followed by warnings.and I could not proceed further..the error msg i recieved when i ran bc on my machine is
Util.java:52: warning: getYear() in java.util.Date has been deprecated [javac] year.add(currMonth + " " + (cal.getTime().getYear()+19 00)); [javac] ^ [javac] [javac] [javac] The system is out of resources. [javac] Consult the following stack trace for details. [javac] [javac] java.lang.OutOfMemoryError [javac] <<no stack trace available>>
There are no errors when i run onjdk 1.4.but i reciev this on jdk 1.3. I tried java -Xmx128m on console but i still recieve this: java -Xms128m >Error occurred during initialization of VM >Incompatible initial and maximum heap sizes .server is jboss2 and my machine is windows xp.
I tried java-Xms(minimum size) and Xmx(Maximum size) on console for increasing heapsize memory.. I recieve this errormsg "Error occurred during initialization of VM Could not reserve enough space for object heap"
Joined: Oct 30, 2001
Oh, that sounds like your machine really does not have enough virtual memory to serve up the size of heap you requested. How much did you request? Is your machine particularly puny, or particularly heavily-loaded?
Joined: Aug 31, 2007
virtual memory is 1524 MB...and Heap sizes are heapSize2031616 heapMaxSize66650112 heapFreeSize1915024.
I dont think my machine is loaded heavily bcause I dont recieve this out of memory error when I run other java applications on my machine . I m not able to change heapsizes using java-Xms and java-Xmx from my console