• Icon: Bug Bug
    • Resolution: Answered
    • Icon: High High (View bug fix roadmap)
    • None
    • 3.4.1
    • None
    • Windows 2003 Server Standard Edition
      Apache Tomcat 5.5.9
      JDK 1.5.0_04

      I am evaluating JIRA and Confluence standard edition. After successfully installing both, I tried to create my very first JIRA issue on a newly created project, and this raised an out of memory error.

      Here are the relevant logs:

      INFO: Missing classdef for creator 'script'. Failed to load uk.ltd.getahead.dwr.
      create.ScriptedCreator. Cause: org/apache/bsf/BSFManager
      18/11/2005 22:34:09 uk.ltd.getahead.dwr.util.CommonsLoggingOutput info
      INFO: Missing class for converter 'hibernate'. Failed to load uk.ltd.getahead.dw
      r.convert.HibernateBeanConverter. Cause: Failed to find either org.hibernate.Hib
      ernate or net.sf.hibernate.Hibernate.
      18/11/2005 22:34:09 uk.ltd.getahead.dwr.util.CommonsLoggingOutput info
      INFO: Missing classdef for converter 'jdom'. Failed to load uk.ltd.getahead.dwr.
      convert.JDOMConverter. Cause: org/jdom/Document
      18/11/2005 22:34:09 uk.ltd.getahead.dwr.util.CommonsLoggingOutput info
      INFO: Can't marshall org.jdom.Document because converter 'jdom' is not available
      . The converter definition may be missing, or required element may be missing fr
      om the CLASSPATH
      18/11/2005 22:34:09 uk.ltd.getahead.dwr.util.CommonsLoggingOutput info
      INFO: Can't marshall org.jdom.Element because converter 'jdom' is not available.
      The converter definition may be missing, or required element may be missing fro
      m the CLASSPATH
      com.mchange.v2.c3p0.impl.NewPooledConnection@1a78fbb invalidated by Exception: j
      ava.sql.SQLException: Connection is closed
      at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
      at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
      at org.hsqldb.jdbc.jdbcConnection.checkClosed(Unknown Source)
      at org.hsqldb.jdbc.jdbcConnection.createStatement(Unknown Source)
      at org.hsqldb.jdbc.jdbcDatabaseMetaData.execute(Unknown Source)
      at org.hsqldb.jdbc.jdbcDatabaseMetaData.getTables(Unknown Source)
      at com.mchange.v2.c3p0.impl.NewProxyDatabaseMetaData.getTables(NewProxyD
      atabaseMetaData.java:2827)
      at com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnectio
      n(DefaultConnectionTester.java:71)
      at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.testPooledConnect
      ion(C3P0PooledConnectionPool.java:141)
      at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.refurbishIdleReso
      urce(C3P0PooledConnectionPool.java:126)
      at com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTa
      sk.run(BasicResourcePool.java:1227)
      at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(Thre
      adPoolAsynchronousRunner.java:354)
      c3p0: An idle resource is broken and will be purged.
      c3p0 [broken resource]: java.sql.SQLException: Connection is invalid
      at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.testPooledConnect
      ion(C3P0PooledConnectionPool.java:176)
      at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.refurbishIdleReso
      urce(C3P0PooledConnectionPool.java:126)
      at com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTa
      sk.run(BasicResourcePool.java:1227)
      at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(Thre
      adPoolAsynchronousRunner.java:354)
      18/11/2005 22:42:43 webwork.util.ValueStack findValue
      SEVERE: METHOD: "text", exception:
      java.lang.OutOfMemoryError: Java heap space
      2005-11-18 22:44:07,859 ERROR [velocity] Method getText threw exception for refe
      rence $i18n in template templates/plugins/jira/portlets/admin.vm at [6,95]
      2005-11-18 22:44:07,906 ERROR [com.atlassian.velocity.DefaultVelocityManager] Me
      thodInvocationException occurred getting message body from Velocity: java.lang.O
      utOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      18/11/2005 22:44:03 webwork.util.ValueStack findValue
      SEVERE: METHOD: "unescapedText", exception:
      java.lang.OutOfMemoryError: Java heap space
      18/11/2005 22:45:18 webwork.util.ValueStack findValue
      SEVERE: METHOD: "unescapedText", exception:
      java.lang.OutOfMemoryError: Java heap space

            [JRASERVER-8575] Out of Memory Error

            Excellent - thanks Matheus!

            Keith

            Keith Brophy added a comment - Excellent - thanks Matheus! Keith

            You also might want to point out at
            http://confluence.atlassian.com/display/JIRA/Increasing+JIRA+memory
            that (on Windows) Tomcat 5.5 has a configuration GUI at
            bin/tomcat5w.exe where you can configure memory settings.


            ------------------------------
            Matheus Costa Leite
            matheus@mindsatwork.com.br

            Minds at Work
            Tecnologia da Informação
            ------------------------------

            Matheus Leite added a comment - You also might want to point out at http://confluence.atlassian.com/display/JIRA/Increasing+JIRA+memory that (on Windows) Tomcat 5.5 has a configuration GUI at bin/tomcat5w.exe where you can configure memory settings. – ------------------------------ Matheus Costa Leite matheus@mindsatwork.com.br Minds at Work Tecnologia da Informação ------------------------------

            It was http://www.atlassian.com/software/jira/docs/v3.4.1/install.html.
            However it seems you were faster than me and already updated it


            ------------------------------
            Matheus Costa Leite
            matheus@mindsatwork.com.br

            Minds at Work
            Tecnologia da Informação
            ------------------------------

            Matheus Leite added a comment - It was http://www.atlassian.com/software/jira/docs/v3.4.1/install.html . However it seems you were faster than me and already updated it – ------------------------------ Matheus Costa Leite matheus@mindsatwork.com.br Minds at Work Tecnologia da Informação ------------------------------

            Hi Matheus,

            Could you point me to the documentation for the EAR version you refer to in your last comment?

            Regards,
            Keith

            Keith Brophy added a comment - Hi Matheus, Could you point me to the documentation for the EAR version you refer to in your last comment? Regards, Keith

            Hi Matheus,

            Great to hear things are working as expected.

            I will update the documentation as you have mentioned.

            Regards,
            Keith

            Keith Brophy added a comment - Hi Matheus, Great to hear things are working as expected. I will update the documentation as you have mentioned. Regards, Keith

            Hello Keith, thanks for your response!

            I actually only had the default amount of memory (64Mb) and this is
            likely the cause of my problem. When I discovered that, I tried to
            cancel the issue I posted, but it seems that is not possible to do
            that (hint: new feature? )

            However, I do think the documentation of the EAR version of JIRA
            should mention the memory issue upfront, as this would avoid many
            potential problems with newcomers.

            It would also be cool to update the docs to include instructions to
            increase the memory with Tomcat 5.5.

            Kind regards,

            Matheus


            ------------------------------
            Matheus Costa Leite
            matheus@mindsatwork.com.br

            Minds at Work
            Tecnologia da Informação
            ------------------------------

            Matheus Leite added a comment - Hello Keith, thanks for your response! I actually only had the default amount of memory (64Mb) and this is likely the cause of my problem. When I discovered that, I tried to cancel the issue I posted, but it seems that is not possible to do that (hint: new feature? ) However, I do think the documentation of the EAR version of JIRA should mention the memory issue upfront, as this would avoid many potential problems with newcomers. It would also be cool to update the docs to include instructions to increase the memory with Tomcat 5.5. Kind regards, Matheus – ------------------------------ Matheus Costa Leite matheus@mindsatwork.com.br Minds at Work Tecnologia da Informação ------------------------------

            Hi Matheus,

            Firstly, may I ask if you have follwed the process described here to install JIRA and Confluence:

            http://confluence.atlassian.com/display/DOC/How+to+add+Confluence+to+a+JIRA+standalone+install

            Can you let us know how much memory you have currently allocated to the JIRA server?

            This document gives further details on how to resolve such memory issues:
            http://confluence.atlassian.com/display/JIRA/Increasing+JIRA+memory

            Regards,
            Keith

            Keith Brophy added a comment - Hi Matheus, Firstly, may I ask if you have follwed the process described here to install JIRA and Confluence: http://confluence.atlassian.com/display/DOC/How+to+add+Confluence+to+a+JIRA+standalone+install Can you let us know how much memory you have currently allocated to the JIRA server? This document gives further details on how to resolve such memory issues: http://confluence.atlassian.com/display/JIRA/Increasing+JIRA+memory Regards, Keith

            I thought it would be worth mentioning that I am not running JIRA as a Windows service.

            Matheus Leite added a comment - I thought it would be worth mentioning that I am not running JIRA as a Windows service.

              Unassigned Unassigned
              matheusleite Matheus Leite
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: