Re: java.lang.OutOfMemoryError: Java heap space
"Lucas Albers" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Isn't it attempting to allocate more memory than physical memory? Add up CC_OPTS+ANT_OPTS+javac = at worse case??? 3G? I'm not an expert on how java allocates memory out, I am just making a wild ass stab in the dark. What happens if you set memory allocation to under the available physical memory? From: philippe vanderstraeten [mailto:[email protected]] Sent: Wednesday, March 11, 2009 9:47 AM To: [email protected] Subject: Re: [Cruisecontrol-user] java.lang.OutOfMemoryError: Java heap space Hi, I have the same issue as you. It looks like a memory leaks. My build if very heavy. Even if I increase the heap size same problem regards On Wed, Mar 11, 2009 at 2:22 PM, mehar <[email protected]> wrote: 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 _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------------------------------ 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 _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user