Return-Path: Delivered-To: apmail-continuum-users-archive@www.apache.org Received: (qmail 58754 invoked from network); 14 Aug 2008 15:03:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2008 15:03:55 -0000 Received: (qmail 50066 invoked by uid 500); 14 Aug 2008 15:03:50 -0000 Delivered-To: apmail-continuum-users-archive@continuum.apache.org Received: (qmail 50035 invoked by uid 500); 14 Aug 2008 15:03:50 -0000 Mailing-List: contact users-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@continuum.apache.org Delivered-To: mailing list users@continuum.apache.org Received: (qmail 50024 invoked by uid 99); 14 Aug 2008 15:03:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2008 08:03:50 -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 (athena.apache.org: domain of muralihere@gmail.com designates 64.233.178.243 as permitted sender) Received: from [64.233.178.243] (HELO hs-out-0708.google.com) (64.233.178.243) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2008 15:02:51 +0000 Received: by hs-out-0708.google.com with SMTP id k27so346103hsc.2 for ; Thu, 14 Aug 2008 08:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=LJEqmnBiWUbXp9RbUUJtPk03XlHTduzwnf1fN7I3RIk=; b=uWkmuyRbzTiME0rp1RC5ndpxkh7qYC+Ql8jtqZ2eEbropbGRf84i9WNeJtwNxQm+td XZ6iWrQel5kLYxDu4DtBVtFh/9nDwvjo3qNmoYzSP01rY2oJIQXonJGIhFLRyEyAI0JO GPyhMpnjDViZBCr2ihkxvRNX4zQR28Ukory/w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=oCoGi53v8c7rplerXnbhL6UV6urE3HWnZKu5q71xNWfHUin8WlhzD/xNRhQvOWvSlN OA9WZu8gr2vKwi+hihfGlou+Xf/YrkZTUzSyT0qykJY7FLjUi+v4mRnGcCkOTvW7fNQi 248L5hLH69qak5fyhT6kNntewOUKW2Vo4l/RM= Received: by 10.90.116.9 with SMTP id o9mr1960290agc.83.1218726182043; Thu, 14 Aug 2008 08:03:02 -0700 (PDT) Received: by 10.90.98.9 with HTTP; Thu, 14 Aug 2008 08:03:01 -0700 (PDT) Message-ID: <7cfb44750808140803v29c74e5bt930b93c26fde7259@mail.gmail.com> Date: Thu, 14 Aug 2008 16:03:01 +0100 From: "murali mohan" To: users@continuum.apache.org Subject: Re: OutOfMemory error In-Reply-To: <9e3862d80808140758y10745709me611aaee1e0b63b0@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_154919_3437828.1218726181993" References: <7cfb44750808130718k7476affdpa9397fa26413eb2e@mail.gmail.com> <9e3862d80808131924y59ebee64j3ebdfbc8a0470654@mail.gmail.com> <7cfb44750808140741g8fd943dva379e64ef652745b@mail.gmail.com> <9e3862d80808140758y10745709me611aaee1e0b63b0@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_154919_3437828.1218726181993 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Brett for your time. Can you please explain this sentence - Did not get this: " Is it necessary to have such large build output retained? Perhaps some of that output could be pushed to disk during the build (such as test output can be in Maven)." Murali. On Thu, Aug 14, 2008 at 3:58 PM, Brett Porter wrote: > Unfortunately change (1) still loads the build result into memory so > may not help as much as you need. > > Depending on the projects you have loaded Continuum can occupy a > decent amount of memory itself over time - you can increase the > startup memory to handle one off loads such as this though it may only > prolong the time before it becomes an issue. > > Is it necessary to have such large build output retained? Perhaps some > of that output could be pushed to disk during the build (such as test > output can be in Maven). > > Cheers, > Brett > > 2008/8/15 murali mohan : > > The build files are some 300 MB. But to avoid these prbolems, i had done > the > > following changes at source and I Build continuum from source: > > > > 1) Commented the following lines at > continuum/WEB-INF/jsp/buildResults.jsp > > > >
> > > >
 
> > > >
> > > > 2) > org.apache.maven.continuum.configuration.DefaultConfigurationService.java > > *3) org.apache.maven.continuum.web*.*action.BuildResultAction.java * > > > > > > PS: the OutOfMemory does does not occur after i bounce the servers. It > > happens only after the server has been running for some time. > > > > > > Murali. > > > > On Thu, Aug 14, 2008 at 3:24 AM, Brett Porter >wrote: > > > >> How large are the build result files? > >> > >> - Brett > >> > >> 2008/8/14 murali mohan : > >> > Hello all, > >> > > >> > I am getting an OutOfMemory error when trying to access the build > result > >> of > >> > a particular build. When i was getting similar errors before, i had > >> > commented out the code which used to load the log files. The builds > and > >> > continuum has been running fine for a few months now after these > changes > >> . > >> > Now suddenly, I have started getting this again. The stack trace is > >> pasted > >> > below. Please help.: > >> > > >> > 2008-08-13 14:07:13,687 [http-9000-Processor23] INFO > >> > com.opensymphony.xwork.interceptor.Interceptor:exceptionLogging - > Error > >> > ocurred during execution > >> > java.lang.reflect.InvocationTargetException > >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> > at > >> > > >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> > at > >> > > >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> > at java.lang.reflect.Method.invoke(Method.java:585) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192) > >> > at > >> > > >> > org.codehaus.plexus.xwork.interceptor.PlexusReleaseComponentInterceptor.intercept(PlexusReleaseComponentInterceptor.java:69) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > org.apache.maven.continuum.web.interceptor.ForceContinuumConfigurationInterceptor.intercept(ForceContinuumConfigurationInterceptor.java:72) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > org.codehaus.plexus.redback.xwork.interceptor.PolicyEnforcementInterceptor.intercept(PolicyEnforcementInterceptor.java:149) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor.intercept(SecureActionInterceptor.java:178) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > org.codehaus.plexus.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:58) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:174) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > org.codehaus.plexus.redback.xwork.interceptor.AutoLoginInterceptor.intercept(AutoLoginInterceptor.java:156) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > org.codehaus.plexus.redback.xwork.interceptor.ForceAdminUserInterceptor.intercept(ForceAdminUserInterceptor.java:76) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > org.codehaus.plexus.redback.xwork.interceptor.EnvironmentCheckInterceptor.intercept(EnvironmentCheckInterceptor.java:122) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > >> > at > >> > > >> > com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116) > >> > at > >> > > >> > com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:273) > >> > at > >> > > >> > com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202) > >> > at > >> > > >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > >> > at > >> > > >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > >> > at > >> > > >> > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) > >> > at > >> > > >> > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) > >> > at > >> > > >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > >> > at > >> > > >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > >> > at > >> > > >> > com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) > >> > at > >> > > >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > >> > at > >> > > >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > >> > at > >> > > >> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > >> > at > >> > > >> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) > >> > at > >> > > >> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > >> > at > >> > > >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > >> > at > >> > > >> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) > >> > at > >> > > >> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) > >> > at > >> > > >> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) > >> > at > >> > > >> > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) > >> > at > >> > > >> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) > >> > at > >> > > >> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > >> > at > >> > > >> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) > >> > at java.lang.Thread.run(Thread.java:595) > >> > Caused by: java.lang.OutOfMemoryError: Java heap space > >> > > >> > > >> > thanks, > >> > Murali. > >> > > >> > >> > >> > >> -- > >> Brett Porter > >> Blog: http://blogs.exist.com/bporter/ > >> > > > > > > -- > Brett Porter > Blog: http://blogs.exist.com/bporter/ > ------=_Part_154919_3437828.1218726181993--