aspose file tools*
The moose likes Java in General and the fly likes how outofMemoryError canbe avoided Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

how outofMemoryError canbe avoided

Giri dhar
Greenhorn

Joined: Aug 31, 2007
Posts: 7
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>>

BUILD FAILED..


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.
[ September 04, 2007: Message edited by: Bear Bibeault ]
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8713
    
    6

Welcome to the JavaRanch.
Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how outofMemoryError canbe avoided
 
Similar Threads
Error 500--Internal Server Error
ANT Out of Memmory problem
compiling issue
how outofMemoryError canbe avoided
HFEJB AdviceClient