Java Memory Error

 3 Replies
 0 Subscribed to this topic
 27 Subscribed to this forum
Sort:
Author
Messages
nbrogdon
Basic Member
Posts: 11
Basic Member
    LSF 9.0.0.2 on HP-UX 11.11 using Oracle 10g database

    Daily, lase is crashing. There are no errors in any of the Lawson logs, but my syslog.log has this:
    Jul 23 08:49:14 aladdin Exception in thread "main"
    Jul 23 08:49:14 aladdin java.lang.OutOfMemoryError: unable to create new native thread
    Jul 23 08:49:14 aladdin
    Jul 23 08:49:14 aladdin ^Iat java.lang.Thread.start(Native Method)
    Jul 23 08:49:14 aladdin
    Jul 23 08:49:14 aladdin ^Iat com.lawson.lawsec.server.EventHandlerPoolFactory.makeObject(Unknown Source)
    Jul 23 08:49:14 aladdin
    Jul 23 08:49:14 aladdin ^Iat org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(Unknown Source)
    Jul 23 08:49:14 aladdin
    Jul 23 08:49:14 aladdin ^Iat com.lawson.lawsec.server.SecurityServer.getEventHandler(Unknown Source)
    Jul 23 08:49:14 aladdin
    Jul 23 08:49:14 aladdin ^Iat com.lawson.lawsec.server.SecurityServer.run(Unknown Source)
    Jul 23 08:49:14 aladdin
    Jul 23 08:49:14 aladdin ^Iat com.lawson.lawsec.server.SecurityServer.main(Unknown Source)

    Lawson had me increase the jvm memory parameter in lsserver.properties, but it didn't help.

    Any ideas?

    Thanks in advance,
    Nicole
    John Henley
    Posts: 3353
      Are you setting the heap size in Websphere?
      Thanks for using the LawsonGuru.com forums!
      John
      nbrogdon
      Basic Member
      Posts: 11
      Basic Member
        I haven't changed the "as delivered" parameters in WebSphere.

        The only thing I have changed is ljx.vm.options=-Xmx768m in lsserver.properties (in $GENDIR/java/command)

        Nicole
        John Henley
        Posts: 3353
          There is a JVM setting in Websphere for the app server (akin to the -Xmx setting for RMI). Try setting that and see if that resolves the java.lang.OutOfMemory errors....It seems to in most cases...
          Thanks for using the LawsonGuru.com forums!
          John