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
Register / Login
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: 8265

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how outofMemoryError canbe avoided
 
Similar Threads
HFEJB AdviceClient
compiling issue
ANT Out of Memmory problem
Error 500--Internal Server Error
how outofMemoryError canbe avoided