Announcement

Collapse
No announcement yet.

Memory Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Memory Error

    Hi,

    This one's been frustrating me since, I think, the last update to HS4 as before that no issues, rock solid but seem to be getting a memory error now as below:
    1/01/2021 13:21:48

    HomeSeer
    Info
    Plugin Arduino-4 with instance Arduino has connected. IP:127.0.0.1:54504

    1/01/2021 13:21:48

    HomeSeer
    Warning
    I/O interface Arduino is down, executable is not running, restarting ...

    1/01/2021 13:21:47


    Error
    Calling HSEvent in HS4 plugin , Instance :Object reference not set to an instance of an object.

    1/01/2021 13:21:47

    HomeSeer
    Info
    Plugin Arduino with ID: Arduino-4 and Instance: has disconnected

    1/01/2021 13:21:45

    Arduino-4
    Error
    Error = Exception in DataReceivedHandler : Exception of type 'System.OutOfMemoryException' was thrown.

    1/01/2021 13:21:45

    Arduino-4
    Error
    Error = Exception in DataReceivedHandler : Exception of type 'System.OutOfMemoryException' was thrown.

    1/01/2021 13:21:44

    Arduino-4
    Error
    Error = Exception in DataReceivedHandler : Exception of type 'System.OutOfMemoryException' was thrown.

    1/01/2021 13:21:44

    Arduino-4
    Error
    Error = Exception in DataReceivedHandler : Exception of type 'System.OutOfMemoryException' was thrown.

    1/01/2021 13:21:30

    Arduino-4
    Error
    Error = Exception in BoardTimertick case 5 : Exception of type 'System.OutOfMemoryException' was thrown.

    1/01/2021 13:21:30

    Arduino-4
    Error
    Error = Board: 1 Connection FAILED.

    1/01/2021 13:21:15

    Arduino-4
    Error
    Error = Exception in BoardTimertick case 4 : Exception of type 'System.OutOfMemoryException' was thrown.

    1/01/2021 13:21:15

    Arduino-4
    Warning
    Warning = Board: 1 has a connection ERROR. Trying Reset.

    1/01/2021 13:21:00

    Arduino-4
    Error
    Error = Exception in BoardTimertick case 3 : Exception of type 'System.OutOfMemoryException' was thrown.

    1/01/2021 13:21:00

    Arduino-4
    Warning
    Warning = Board: 1 has a connection ERROR. Retrying.

    1/01/2021 13:20:44

    Arduino-4
    Error
    Error = Exception in DataReceivedHandler : Exception of type 'System.OutOfMemoryException' was thrown.

    1/01/2021 13:20:29

    Arduino-4
    Error
    Error = Exception in DataReceivedHandler : Exception of type 'System.OutOfMemoryException' was thrown.

    1/01/2021 13:20:14

    Arduino-4
    Error
    Error = Exception in DataReceivedHandler : Exception of type 'System.OutOfMemoryException' was thrown.

    1/01/2021 13:19:44

    Arduino-4
    Error
    Error = Exception in RecievedData5 : Exception of type 'System.OutOfMemoryException' was thrown.

    1/01/2021 13:20:14

    Arduino-4
    Error
    Error = Exception in DataReceivedHandler : Exception of type 'System.OutOfMemoryException' was thrown.
    1/01/2021 13:19:44

    Arduino-4
    Error
    Error = Exception in RecievedData5 : Exception of type 'System.OutOfMemoryException' was thrown.

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

    I can't see anything obvious causing it not is it anything but random, sometimes restarts fine as above and other times seems to crash HS4. Restart and all's good till the next teim it falls over.

    Any pointers appreciated.

    K.

    #2
    What version of HS4 did you update to?
    Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
    X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
    Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
    Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
    Scripts =
    Various

    Comment


      #3
      It's on 4.1.10.0 now.

      K.

      Comment


        #4
        That is what I am running. If this happenes again can you try and capture a debug log of this so I can see what is going on.
        Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
        X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
        Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
        Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
        Scripts =
        Various

        Comment


          #5
          Yeah, done it a number of times and tried a few things to solve it.

          Can you tell me where the log file is and where you want it sent please?

          Ta

          K.

          Comment


            #6
            Can you try V4.2.0.13 Beta that is in the updater as there was a sketch problem that might have been causing this?
            Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
            X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
            Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
            Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
            Scripts =
            Various

            Comment


              #7
              Yep, sure done that now. If it persists I'll let you know but so far it looks good.

              K.

              Comment


                #8
                Getting this, seemingly at random:

                1/09/2021 23:21:50

                HomeSeer
                Info
                Plugin Arduino-4 with instance Arduino has connected. IP:127.0.0.1:50923

                1/09/2021 23:21:50

                HomeSeer
                Warning
                I/O interface Arduino is down, executable is not running, restarting ...

                1/09/2021 23:21:41


                Error
                Calling HSEvent in HS4 plugin , Instance :Object reference not set to an instance of an object.

                1/09/2021 23:21:41

                HomeSeer
                Info
                Plugin Arduino with ID: Arduino-4 and Instance: has disconnected

                1/09/2021 23:21:39

                Arduino-4
                Error
                Error = Exception in DataReceivedHandler : Exception of type 'System.OutOfMemoryException' was thrown.

                1/09/2021 23:21:23

                Arduino-4
                Error
                Error = Exception in DataReceivedHandler : Exception of type 'System.OutOfMemoryException' was thrown.



                K.

                Comment


                  #9
                  Have you installed something else on the system that could have a memory leak? What system are you using?
                  Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
                  X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
                  Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
                  Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
                  Scripts =
                  Various

                  Comment


                    #10
                    No.

                    No changes have been made for months and other than a power cut, nothing of note has been done/changed. Modules added/altered other than that no changes.

                    K.

                    Comment


                      #11
                      Sorry still getting this as below.

                      K.

                      1/24/2021 21:13:29


                      Error
                      Calling HSEvent in HS4 plugin , Instance :Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

                      1/24/2021 21:13:29


                      Error
                      Calling HSEvent in HS4 plugin , Instance :Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

                      1/24/2021 21:13:29


                      Error
                      Calling HSEvent in HS4 plugin , Instance :Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

                      1/24/2021 21:13:29


                      Error
                      Calling HSEvent in HS4 plugin , Instance :Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

                      1/24/2021 21:13:29


                      Error
                      Calling HSEvent in HS4 plugin , Instance :Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

                      1/24/2021 21:13:29

                      HomeSeer
                      Info
                      Plugin Arduino with ID: Arduino-4 and Instance: has disconnected

                      1/24/2021 21:13:29


                      Error
                      Calling HSEvent in HS4 plugin , Instance isconnected before response received.

                      1/24/2021 21:13:27

                      Arduino-4
                      Error
                      Error = Exception in RecievedData5 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:13:27

                      Arduino-4
                      Error
                      Error = Exception in TimerReset1 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:13:27

                      Arduino-4
                      Error
                      Error = Exception in RecievedData5 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:13:26

                      Arduino-4
                      Error
                      Error = Exception in TimerReset1 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:13:22

                      Arduino-4
                      Error
                      Error = Exception in TimerReset1 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:13:18

                      Arduino-4
                      Error
                      Error = Exception in RecievedData5 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:13:18

                      Arduino-4
                      Error
                      Error = Exception in TimerReset1 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:13:05

                      Arduino-4
                      Error
                      Error = Exception in RecievedData5 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:13:05

                      Arduino-4
                      Error
                      Error = Exception in TimerReset1 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:13:03

                      Arduino-4
                      Error
                      Error = Exception in RecievedData5 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:13:03

                      Arduino-4
                      Error
                      Error = Exception in TimerReset1 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:12:59

                      Arduino-4
                      Error
                      Error = Exception in RecievedData5 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:12:59

                      Arduino-4
                      Error
                      Error = Exception in TimerReset1 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:12:58

                      Arduino-4
                      Error
                      Error = Exception in RecievedData5 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:12:58

                      Arduino-4
                      Error
                      Error = Exception in TimerReset1 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:12:52

                      Arduino-4
                      Error
                      Error = Exception in RecievedData5 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:12:51

                      Arduino-4
                      Error
                      Error = Exception in RecievedData5 : Exception of type 'System.OutOfMemoryException' was thrown.

                      1/24/2021 21:12:51

                      Arduino-4
                      Error
                      Error = Exception in TimerReset1 : Exception of type 'System.OutOfMemoryException' was thrown.

                      Comment


                        #12
                        I will need a debug of this from the plugin to work out what is going on.
                        Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
                        X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
                        Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
                        Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
                        Scripts =
                        Various

                        Comment


                          #13
                          If it helps, I got this tonight, not seen this before:

                          1/24/2021 23:21:42

                          Arduino-4
                          Error
                          Error = Exception in RecievedData4 : Index was outside the bounds of the array.

                          1/24/2021 23:21:42

                          Arduino-4
                          Error
                          Error = Exception in RecievedData3 : Index was outside the bounds of the array.

                          1/24/2021 23:21:42

                          Arduino-4
                          Error
                          Error = Exception in TimerReset1 : Index was outside the bounds of the array.

                          1/24/2021 23:21:42

                          Arduino-4
                          Error
                          Error = Exception in RecievedData1 : Index was outside the bounds of the array.

                          1/24/2021 23:21:42

                          Arduino-4
                          Error
                          Error = Exception in RecievedData4 : Index was outside the bounds of the array.

                          1/24/2021 23:21:42

                          Arduino-4
                          Error
                          Error = Exception in RecievedData3 : Index was outside the bounds of the array.

                          1/24/2021 23:21:42

                          Arduino-4
                          Error
                          Error = Exception in TimerReset1 : Index was outside the bounds of the array.

                          1/24/2021 23:21:42

                          Arduino-4
                          Error
                          Error = Exception in RecievedData1 : Index was outside the bounds of the array.

                          Comment


                            #14
                            This is strange data being sent to the plugin but I can tell without a debug log.
                            Please go to the plugin settings page and tick debug logging then wait for the error to happen. Uncheck debug login then click on the link to download the file and send it to me.
                            Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
                            X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
                            Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
                            Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
                            Scripts =
                            Various

                            Comment

                            Working...
                            X