java.lang.OutOfMemoryError: Java heap space

mehar <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi,

"BUILD FAILED
 java.lang.OutOfMemoryError: Java heap space"

Kindly help me to resolve the issue, while trying to build a project with 
approx 3000 java files, I tried with following options but still the same 
error persists

1) set CC_OPTS=-Xms1024m -Xmx1024m in CruiseControl.bat file.
2) Set the ANT_OPTS=-Xmx1024m in Config.properties file.
3) Set the <javac memoryInitialSize="1024m" memoryMaximumSize="1024m" 
fork="true" .. ..... > in build.xml
4) System Memory is 1 GB

Please respond to this mail... 


Regards,
Mehar


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.