• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    High Memory Usage, is this normal?

    Scheduled Pinned Locked Moved Troubleshooting
    14 Posts 3 Posters 2.9k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • skywatchS Offline
      skywatch
      last edited by

      Java is by far the winner in using the most cpu and the most memory... hope that helps...

      1 Reply Last reply Reply Quote 0
      • T Offline
        Tag MOD
        last edited by Tag

        @skywatch

        same here.. see the top output below

        asks:  84 total,   2 running,  82 sleeping,   0 stopped,   0 zombie
        %Cpu(s):  3.2 us,  1.1 sy,  0.0 ni, 95.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
        KiB Mem:    506832 total,   484768 used,    22064 free,    23672 buffers
        KiB Swap:   131068 total,        0 used,   131068 free.   191584 cached Mem
        
          PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                             
        25421 root      20   0  289604 214600   4400 S  14.9 42.3 402:09.80 java                                                
          481 root      20   0   12568    996    792 S   1.0  0.2 310:10.60 mysgw         
        

        in my case I use an orangepi running armbian, the receiver also directly attached to the GPIO header. SInce i use mysgw as a deamon, the CPU usage is higher (therefor runs hotter), compared to an arduino with the sensor attached...

        But you are right java seems a bit memory hungry...

        Let me know if you need more info

        jkandasaJ 2 Replies Last reply Reply Quote 0
        • jkandasaJ Offline
          jkandasa @Tag
          last edited by

          @skywatch Still are you facing this issue after followed this http://forum.mycontroller.org/topic/175/web-page-script-stopped-responding/6 ?

          1 Reply Last reply Reply Quote 0
          • jkandasaJ Offline
            jkandasa @Tag
            last edited by

            @Tag This is my RPI CPU usage, I use RPI minimal install and WiFI MySnesors gateway(two gateways)

            0_1500628491530_image.png

            T 1 Reply Last reply Reply Quote 0
            • skywatchS Offline
              skywatch
              last edited by

              I have had to reboot the pi today a few times but am now monitoring memory usage. So far it is rising steadily, but slowly. I will give it a few days and see how it goes.

              1 Reply Last reply Reply Quote 0
              • T Offline
                Tag MOD @jkandasa
                last edited by

                @jkandasa

                I unfortunately cannot get the graph you show.....
                did you get it from a script or from the myagent software?

                jkandasaJ 1 Reply Last reply Reply Quote 0
                • skywatchS Offline
                  skywatch
                  last edited by

                  How do I add an image to a post here?

                  Also, what memory is mcagent reporting? Ram? Sdcard? I have an image screenshot that you might like to see!

                  1 Reply Last reply Reply Quote 0
                  • jkandasaJ Offline
                    jkandasa @Tag
                    last edited by

                    @Tag Yes, I use MCAgent to report RPI internals.

                    @skywatch It is CPU of the RPI.

                    How do I add an image to a post here?

                    Just save the image on your local computer and do upload with upload icon when composing message on this forum.

                    1 Reply Last reply Reply Quote 0
                    • skywatchS Offline
                      skywatch
                      last edited by

                      @jkandasa

                      @skywatch It is CPU of the RPI.

                      That doesn't make sense, memory is separate to CPU surely?

                      I can only upload images less then 512kb. At that level all detail is lost, can I send directly to your email?

                      jkandasaJ 1 Reply Last reply Reply Quote 0
                      • jkandasaJ Offline
                        jkandasa @skywatch
                        last edited by jkandasa

                        @skywatch Yes, I put 512KB limit to avoid storage full. Yes please send to jkandasa at gmail dot com

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        0

                        Online

                        586

                        Users

                        529

                        Topics

                        3.4k

                        Posts
                        Copyright © 2015-2025 MyController.org | Contributors | Localization