2 Replies Latest reply on Jul 26, 2006 8:05 PM by Subu

    out of memory error

    Subu Newbie

      Hello All,
      I downloaded the jbpm-starters-kit-3.1. I was able to create my own process and upload it to the server. The server was running fine for a day then all of a sudden started throwing the exception shown below:

      11:12:49,788 ERROR [CommandExecutorThread] java.lang.OutOfMemoryError: PermGen space
      11:12:54,788 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'
      11:12:54,788 DEBUG [JbpmContext] creating JbpmContext
      11:12:54,788 DEBUG [DbPersistenceServiceFactory] creating persistence service
      11:12:54,788 DEBUG [DbPersistenceService] creating hibernate session
      11:12:54,788 DEBUG [DbPersistenceService] beginning hibernate transaction
      11:12:58,898 DEBUG [CommandExecutorThread] command 'null' threw exception. rolling back transaction
      java.lang.OutOfMemoryError: PermGen space

      At this stage all the jbpm has is the websale and my own created process.

      My java options are set the following:
      set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
      Has anyone experienced such a problem?
      Also I see a scheduler constantly running every 5 seconds. What does this do?
      Regards,
      Subu