5 Replies Latest reply on May 17, 2013 4:02 PM by Nasar-Oracle

    Installing AWM

      Hello to all,

      I am installing AWM on a machine where database is running on RHEL 5.4. I downloaded awm112030A_Standalone.zip . Now running awmrun.sh gives

      GC warning : Out of Memory! Returning Nil!
      Exception ion thread " AppInitialization Thread" java.lang.OutofMemoryError
      <<No stacktrace available>>

      GC warning : Out of Memory! Returning Nil!

      Any ideas?

      Edited by: sonidba on May 4, 2013 6:57 PM
        • 1. Re: Installing AWM
          I assume you have checked into the obvious issue, which is lack of memory. Which version of Java do you have installed? Are you able to run other Java executables on the machine?
          • 2. Re: Installing AWM
            I am running virtual machine to which 4.3 GB is assigned.

            [root@host1 ~]# free
            total used free shared buffers cached
            Mem: 3107668 679096 2428572 0 55644 500712
            -/+ buffers/cache: 122740 2984928
            Swap: 3068372 0 3068372

            $ java -version
            java version "1.4.2"
            gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-46)

            Now , any idea? What can be issue?
            • 3. Re: Installing AWM
              Two things come to mind:

              (1). According to the contents of awmrun.sh (shown below) version 1.5 or 1.6 of Java is needed.

              (2). The maximum heap size by default is set to 1 GB. You can reduce it and see if that resolves your memory problem.

              BTW ... you don't have to run AWM inside your VM. I generally run AWM outside VM (like in my Windows-7) , and connect it to DB running inside VM. That way I don't unnecessarily use the limited RAM that is assigned to VM. Client tools can be (and should be) used outside of VM.

              *# Modify the JRE_ROOT environment variable to the directory location of your installed Java Run-time Environment*
              *# Make sure your environment has at least JRE version 1.5 installed*
              *# JRE version 1.6 is also supported*


              *#$JAVA_RT -mx1024m -jar awm11.*

              java -mx1024m -jar awm11.
              • 4. Re: Installing AWM
                $rpm -qa|grep jre

                I have jre-1.6 installed. Now,

                $ rpm -qa|grep jre

                shows that it is installed in /usr/java

                Now, as a root user
                export JAVA_ROOT=/usr/java


                returns the same error.

                GC Warning: Out of Memory! Returning NIL!
                Exception in thread "AppInitialisationThread" java.lang.OutOfMemoryError
                <<No stacktrace available>>
                • 5. Re: Installing AWM
                  You can run AWM in your Windows environment and connect it to database (in VM).

                  Any reason, Why you have to use AWM in unix ?

                  It is just a client tool.