Navigation

    Home
    All Categories
    • KEEN Trail Camera
    • Top #ReolinkCaptures Awards
    • Announcements and News
    • Wishlist
    • #ReolinkTrial
    • Discussion About Products
    • Reolink Captures
    • Reolink Client & APP
    #ReolinkTrial
    Reolink Captures
    Log in to post
    Guest
    • Guest
    • Register
    • Login

    Learn More

    Reolink updates Learn More

    Meet Reolink at IFA 2024! Learn More

    Reolink Q&A Learn More

    Memory Leak in v8.10.4

    Reolink Client & APP
    6
    10
    1406
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • user_646203682046022_646203682046022
      user_646203682046022 last edited by

      I recently upgraded to v8.10.4, and the the Client software appears to have a fast memory leak.
      I am viewing 13 cameras in the application on the screen on my PC, and in 1-2 hours of running, the application consumes ~50 GB of RAM (yes 50 GB).
      The machine that runs this application is fairly robust, Windows 10 Pro, Version 22H2 (I9-9900, 64GB RAM, dual GPUs, etc...).

      I upgraded from Client v7.2.2.3 to v8.10.4, as the older version of the client stopped working when I installed the latest firmware with my NVR (RLN16-410, hardware H3MB18, firmware v3.3.0.226_23031645).

      The old Client v7.2.2.3 did not appear to have any noticeable issues with memory consumption growing, but no longer displays video streams from cameras with the newer firmware on the NVR.

      Has anyone else seen issues with the client while running v8.x.x and memory consumption continuing to increase?


      Reply Quote
      Share
      • Share this Post
      • Facebook
      • Twitter
      • copy the link
        Copied!
      0
        • Robert Hammond_315369854550200
          Robert Hammond @user_646203682046022 last edited by

          @user_646203682046022_646203682046022 I have tried to mimic this behaviour with my laptop because it also has Intel UHD GPU 0 and Nvidia Quadro GPU 1.

          I have tried running with the four video option combinations of GPU 0, GPU 1 both with and without Hardware Decoding First.
          I think your setup is similar to mine with video running through the Nvidia Quadro with Hardware Decoding First, a good choice to allow the better video chip to take the load away from the CPU.

          And on my machine there does not appear to be a memory leak. Note that I connect directly to four cameras and not through an NVR.
          Also I have the latest Nvidia drivers installed.

          Reply Quote
          Share
          • Share this Post
          • Facebook
          • Twitter
          • copy the link
            Copied!
          0
          • joseph_1979
            Joseph Global Moderator @user_646203682046022 last edited by joseph_1979

            @user_646203682046022_646203682046022 Please run the service 'resmon' (To open the Run dialogue, press Windows+R, then type 'resmon' and click OK) and check the commit memory of the Reolink processes (you should find 6 reolink processes). Select "Commit (KB)," which will reorder it so that the activities that use the most memory are at the top. Can you paste it here?. I would take it up with Reolink support to delve through it. I didn't encounter such a high usage of mem on any of the Reolink processes and I left all 6 cameras in live view for 4 hours.






            Reply Quote
            Share
            • Share this Post
            • Facebook
            • Twitter
            • copy the link
              Copied!
            0
            • KS
              KS @Joseph last edited by

              @joseph_1979



              it happens so frequently, that I set a batch file to run every 3 hours....

              TASKKILL /IM Reolink.exe /F
              TIMEOUT /T 5
              START C:\"Program Files"\Reolink\Reolink.exe

              also the same issue as posted here a few weeks back. (https://community.reolink.com/topic/5671/8-10-2-memory-leak-or-something?post_id=21871&_=1686518759084)


              Reply Quote
              Share
              • Share this Post
              • Facebook
              • Twitter
              • copy the link
                Copied!
              0
              • joseph_1979
                Joseph Global Moderator @KS last edited by joseph_1979

                @ks Yes I recall this complaint. This is definitely a heap memory leakage. Can you please paste these in an email and send them to Reolink support so that they will investigate? Maybe calling the malloc() function without issuing the free(ptr) to release it. Visual Studio has a good memory analysis tool which I used it during testing of my projects.


                Reply Quote
                Share
                • Share this Post
                • Facebook
                • Twitter
                • copy the link
                  Copied!
                0
                • user_646203682046022_646203682046022
                  user_646203682046022 @Robert Hammond last edited by

                  @robert-hammond_315369854550200

                  I have done a ton of digging and I can only recreate this issue if I am running the Reolink client on my PC.
                  The only thing I can tie it to is the Reolink client causing something to consume all available memory. I am currently up to version 8.12.1, but the same problem continues.

                  If I do not have Reolink running on this computer, the issue with the memory leak does not occur, I can run all kinds of other items in the background (browers, other applications, etc..) and I never see a leak, even if I leave this machine on for weeks at a time.
                  If I leave no other applications running, and only run the Reolink client, within a few hours, (6-10 or so), the memory leak occurs. When I close the client, the memory is not returned for free use.

                  In Task Manager, I never see more than ~800 MB allocated to the Reolink client, which is extremely odd, but Task Manager does not always show everything.

                  Digging deeper into the issue - When the memory leak occurs:

                  Using poolmon with the -b switch,
                  from a command prompt C:\> poolmon -b, I can see a huge amount of paged and non paged memory that is tied to the EtwD and Etwr tags.
                  Below is the text of the top lines of poolmon. Again, this issue with consumption of RAM only occurs when the Reolink client is running on this computer. No other applications impact the memory useage when they are running.

                   Memory:66885548K Avail:12313068K PageFlts: 24045  InRam Krnl:-6424K P:34528624K
                   Commit:59647328K Limit:66885548K Peak:66885548K      Pool N:6317188K P:34664856K
                   System pool information
                   Tag Type   Allocs      Frees      Diff    Bytes         Per Alloc

                   EtwD Paged 189742250 (  0) 129776273 (20992) 59965977 29704426832 ( -10412368)     495
                   Etwr Nonp 189753884 (  0) 129787891 (20992) 59965993 4797279440 (  -1679360)     80

                  These tags are associated with Windows Event Tracing. From pooltag.txt (in Debuggers\x64\triage\ )
                  Etwr - nt!ewt - Etw Reply Queue Entry
                  EtwD - nt!ewt - Etw DataBlock

                  All I can correlate this to is there is something in the Reolink application that is causing a Windows Tracing Event to randomly request a huge number of DataBlocks (EtwD) and attempt to reply (Etwr), that is eating up all the memory from the paged and non-paged pool.

                  I do not know what it is causing this, but it only happens with the Reolink client running.

                  Also, the machine is up-to-date Windows 10, including all drivers and software updates for various applications, it has been scanned for viruses / malware, and there are no other issues.



                  Reply Quote
                  Share
                  • Share this Post
                  • Facebook
                  • Twitter
                  • copy the link
                    Copied!
                  0
                  • joseph_1979
                    Joseph Global Moderator @user_646203682046022 last edited by joseph_1979

                    @user_646203682046022_646203682046022 Have you communicated with Reolink support? We don't have the code and so cannot delve further about the buffers reserved and released by the applications. Typical error with programmers.

                    Reply Quote
                    Share
                    • Share this Post
                    • Facebook
                    • Twitter
                    • copy the link
                      Copied!
                    0
                    • user_646203682046022_646203682046022
                      user_646203682046022 @Joseph last edited by

                      @joseph_1979
                      I submitted this to Reolink's support center this morning. I hope they respond.

                      Reply Quote
                      Share
                      • Share this Post
                      • Facebook
                      • Twitter
                      • copy the link
                        Copied!
                      0
                      View 5 replies
                    • user_749968963318003_749968963318003
                      user_749968963318003 last edited by

                      Seeing the same issue v8.12.1 memory just grows and grows

                      undefined

                      Reply Quote
                      Share
                      • Share this Post
                      • Facebook
                      • Twitter
                      • copy the link
                        Copied!
                      0
                        • joseph_1979
                          Joseph Global Moderator @user_749968963318003 last edited by

                          @user_749968963318003_749968963318003 Kindly report it to Reolink support on https://support.reolink.com/requests/.

                          Reply Quote
                          Share
                          • Share this Post
                          • Facebook
                          • Twitter
                          • copy the link
                            Copied!
                          0
                          View 0 replies
                        • First post
                          Last post
                        All Categories
                        Announcements and News Reolink Client & APP Discussion About Products #ReolinkTrial Reolink Captures Wishlist KEEN Trail Camera
                        Never miss Reolink hot deals, news, and updates tailored for you.

                        Thanks for your subscription!

                        Please enter a valid email address.

                        Oops… Something went wrong. Please try again later.

                        You are already subscribed to this email list. :)

                        Submission failed. Please try again later.

                        Reolink Store|Support|About Us|Privacy Policy|Terms and Conditions

                        Copyright 2025 © Reolink All Rights Reserved.

                        Welcome Back!

                        Hi there! Join the Commnunity to get all the latest news, tips and more!

                        Join Now