0 Replies Latest reply on Jun 25, 2007 1:08 AM by Ritesh

    Alfresco Deployment Memory issue.

    Ritesh Newbie

      Hi,
      I am using Jbossportal 2.4.1.I have Alfrsco.war and deployd on /jboss-portal-2.4.1/server/default/deploy directory.It runs fine and I can even see the Alfresco application integrated with my jbossportal.But after 10-15 minutes, it starts giving an exception and everything goes on toss...

      I am getting memory exception on jbossportal console as below :

      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      Caused by: java.sql.SQLException: out of memory
      at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
      at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
      at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source)
      at org.hsqldb.jdbc.jdbcDatabaseMetaData.execute(Unknown Source)
      at org.hsqldb.jdbc.jdbcDatabaseMetaData.getTables(Unknown Source)
      at org.alfresco.repo.domain.schema.SchemaBootstrap.countAppliedPatches(SchemaBootstrap.java:188)
      at org.alfresco.repo.domain.schema.SchemaBootstrap.updateSchema(SchemaBootstrap.java:301)
      at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:598)
      ... 96 more
      2007-06-22 19:18:33,682 ERROR [org.apache.catalina.core.StandardContext] Error listenerStart
      2007-06-22 19:18:33,682 ERROR [org.apache.catalina.core.StandardContext] Context [/alfresco] startup failed due to previous errors
      2007-06-22 19:18:33,682 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/alfresco]] Closing Spring root WebApplicationContext
      2007-06-22 19:19:33,714 ERROR [STDERR] Exception in thread "DefaultScheduler_QuartzSchedulerThread"
      2007-06-22 19:19:34,772 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
      2007-06-22 19:23:28,803 ERROR [STDERR] Exception in thread "TimeoutFactory-0"
      2007-06-22 19:23:30,406 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
      2007-06-22 19:29:48,904 ERROR [STDERR] Exception in thread "http-0.0.0.0-8080"
      2007-06-22 19:29:48,904 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space

      I have increased the memory in run.sh also but getting same error.
      Please suggest how to resolve the same.

      Thanks in advance!
      Ritesh.