Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12431

Cannot start EAP - MALLOC_ARENA_MAX=1: is not an identifier

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.CR1
    • 7.1.0.ER3
    • Scripts
    • None

      JBEAP-11565 add the following line into the EAP launching scripts:

      export MALLOC_ARENA_MAX="${MALLOC_ARENA_MAX:-1}"
      

      This is problematic on Solaris 10 sparc

      $ ./standalone.sh
      ./standalone.sh: MALLOC_ARENA_MAX=1: is not an identifier
      
      $ ./domain.sh                                               
      ./domain.sh: MALLOC_ARENA_MAX=1: is not an identifier
      

      Please use:

      MALLOC_ARENA_MAX="${MALLOC_ARENA_MAX:-1}"
      export MALLOC_ARENA_MAX
      

      so Solaris 10 shell can handle this fine.

              rhatlapa@redhat.com Radim Hatlapatka (Inactive)
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: