5 Replies Latest reply on May 17, 2019 9:13 AM by Walid KHARRAT

    frmweb memory usage

    Walid KHARRAT

      Hi,

      i use this utility https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py in linux server to determine the amount of memory used by frmweb process. what do you think about this script, is the total is correct?

        • 1. Re: frmweb memory usage
          Matthew D.

          If you compare script result with other utilities, they are not the same:

           

          top -p 31554

            PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

          31554 oracle    20   0  168m  49m  19m S  0.0  0.1   0:51.89 frmweb

           

           

          ./ps_mem.py -p 31554

          Private  +   Shared  =  RAM used       Program

           

           

          30.4 MiB + 809.0 KiB =  31.2 MiB       frmweb

          ---------------------------------

                                   31.2 MiB

          =================================

           

           

          Enterprise manager

          default 31554 test test.db1:  0 50564 (Kb) 10.10.4.39 user 2019.05.16 at 09:38:26 CEST 

           

           

          pmap -x 31554

                                Kbytes        RSS            Dirty

          ----------------  ----------        ---------        --------

          total kB          172488        50568        30540

           

          Regards

          • 2. Re: frmweb memory usage
            Walid KHARRAT

            you are right i noticed the difference with pmap. but i hoped that the value of script be correct. i don't know why frmweb take this amount of memory without RUN_REPORT_OBJECT and without imported java classes. If i run multiple frmweb each one take 50M?

            • 3. Re: frmweb memory usage
              Walid KHARRAT

              i run this command 

              top -c -p $(pgrep -d',' -f frmweb)

              i get a terrible result:

               

              33619 weblogic  20   0  125m  26m  17m S  0.0  0.3   0:00.14 frmweb webfile=HTTP-0,default                       
              33888 weblogic  20   0  125m  26m  17m S  0.0  0.3   0:00.14 frmweb webfile=HTTP-0,default

              same result with pmap. I run forms 11g on linux. what's wrong with that i display only first form i have 125M, if i navigate in different forms it jump to 132M

              • 4. Re: frmweb memory usage
                Matthew D.

                You are looking wrong column (VIRT), you should look RES column.

                 

                The simples form takes less memory, complicated forms take more.

                 

                To reduce memory usage with RUN_REPORT_OBJECT you should configure JVM controller.

                 

                Regards

                • 5. Re: frmweb memory usage
                  Walid KHARRAT

                  Thank you Matthew, you are right