Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 61144 invoked by uid 99); 16 Apr 2007 12:08:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 05:08:26 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of paranoiabla@gmail.com designates 66.249.92.168 as permitted sender) Received: from [66.249.92.168] (HELO ug-out-1314.google.com) (66.249.92.168) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 05:08:19 -0700 Received: by ug-out-1314.google.com with SMTP id 30so962165ugs for ; Mon, 16 Apr 2007 05:07:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DXyJZZ/Y0JHXEOVKIkr4xedw0aIEM4vztfK8XFfBfqHAI9gLbDiQuR0z7mjlPy2DGbv9MSmfmc43yjZhpqW/ZW8j9n5o3/XLg/uFLOaQYe3IypgMMoC1SXIXV6ZaVPVeuuOwxhIuO1W6nkmcyLEE8juonoeBuldKQGDlvriqrcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=f26FhCFi3DJu6wg62Gh+PjwQn0DTQDFIfWd5FIVZ7inFvoSIU9rkFkP0gUGi1Ry+U4aE2C/3YEqW7MiFrMJ0EiSQiMsjBJkqaXLtZuY844x+gcPtwFMxjdIPQCuGl0e1RIv+Obe57c5w+DVlT9NFEPi6KMxmDkhjizR+UGW3oUk= Received: by 10.66.243.4 with SMTP id q4mr4290390ugh.1176725277815; Mon, 16 Apr 2007 05:07:57 -0700 (PDT) Received: by 10.66.223.14 with HTTP; Mon, 16 Apr 2007 05:07:52 -0700 (PDT) Message-ID: Date: Mon, 16 Apr 2007 15:07:52 +0300 From: "Petar Tahchiev" To: "Cactus Users List" Subject: Re: throws out of memory error In-Reply-To: <10014692.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30278_224716.1176725272618" References: <10012927.post@talk.nabble.com> <10014692.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_30278_224716.1176725272618 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/4/16, atish : > > > thanks Petar, > > yes, I am working on windowsXP. By the way, let me corrent you, I am using > Ant 1.6.3 not Ant 1.7. > > I am trying to cactify war file. Its size is 85.4 MB. The JDK version is > JDK > 1.5 > > thanks, > Best Regards, > Atish Khedkar > > > > Petar Tahchiev wrote: > > > > 2007/4/16, atish : > >> > >> > >> Hi All, > >> > >> While working on cactus Ant, Ant throws out of memory error (during > >> cactifywar). > >> > >> I am having 2GB RAM. I am using apache-ant-1.6.3 and cactus1.7.1. > >> > >> I had set "ANT_OPT" attribute to %ANT_OPT% "-Xmx512m" in > >> build.properties. > >> As well you can see in below snipet, I had set "maxmemory" attribute to > >> "512M" in cactus tag. Still, I am getting OUT OF MEMORY. > >> > >> below is the snipet of cactus in build.xml > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> >> destfile="${lib.output.dir}/cactified.war"> > >> >> includes="**/cactustest/*.class"/> > >> > >> > >> > >> > >> > >> > >> > >> >> maxmemory="512M"> > >> > >> > >> > >> > >> > >> >> shutdowntarget = "stop-wls"/> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> error on command prompt: > >> > >> pre-init: > >> [property] Loading Environment env. > >> [available] Found: build.properties > >> [property] Loading X:\build.properties > >> [echo] weblogic91.present = true > >> > >> init-cactus: > >> > >> cactify-war: > >> [cactifywar] Analyzing war: X:\build_output.WebLogic\lib\myweb.war > >> > >> BUILD FAILED > >> java.lang.OutOfMemoryError: Java heap space > >> at > >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1225) > >> at org.apache.tools.ant.Project.executeTarget(Project.java > :1185) > >> at > >> org.apache.tools.ant.helper.DefaultExecutor.executeTargets( > >> DefaultExecutor.java > >> :40) > >> at org.apache.tools.ant.Project.executeTargets(Project.java > :1068) > >> at org.apache.tools.ant.Main.runBuild(Main.java:668) > >> at org.apache.tools.ant.Main.startAnt(Main.java:187) > >> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) > >> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) > >> Caused by: java.lang.OutOfMemoryError: Java heap space > >> --- Nested Exception --- > >> java.lang.OutOfMemoryError: Java heap space > >> > >> > >> So please help me out as soon as possible, if anybody have some idea > >> about > >> this problem. > >> > >> thanks in advance. > >> -- > >> View this message in context: > >> > http://www.nabble.com/throws-out-of-memory-error-tf3583346.html#a10012927 > >> Sent from the Cactus - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org > >> For additional commands, e-mail: cactus-user-help@jakarta.apache.org > >> > >> > > Hi atish, > > > > There are a couple of things you can do so that we can locate the > problem > > more precisely. First of all you can post the content of the file you > are > > trying to cactify. > > Is it a big one - give a brief description of it. Also what is the type > of > > your OS (I > > guess you are using Windows) and the version of the JVM. > > > > Also try downloading Ant 1.6.5. (!!! Don't download the latest Ant > > release, > > we have problems with > > Ant 1.7 !!!) and post the result with that version of Ant. > > > > Hope that helps. > > > > -- > > Regards, Petar! > > Karlovo, Bulgaria. > > > > Public PGP Key at: > > > https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 > > Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 > > > > > > -- > View this message in context: > http://www.nabble.com/throws-out-of-memory-error-tf3583346.html#a10014692 > Sent from the Cactus - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: cactus-user-help@jakarta.apache.org > > My idea was to try downloading and using Ant 1.6.5, because It seems like Ant related problem. Please try with Ant 1.6.5 and tell us what the result is. -- Regards, Petar! Karlovo, Bulgaria. Public PGP Key at: https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 ------=_Part_30278_224716.1176725272618--