Announcement

Collapse
No announcement yet.

System.OutOfMemoryException thrown - Solved!

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

    System.OutOfMemoryException thrown - Solved!

    Hi,

    I'm getting rather frequent error reports in the log, in response to attempts to do things, such as running a script, (but not only that).

    I'm running a dedicated windows 7 HS3 machine with 4G of Ram. Process explorer says I've got 2.7G free while this is happening.

    Is this a windows problem (not giving HS3 memory) or an HS3 problem?

    I'm running HS3 Pro 3.0.0.143 and recently installed Zwave Beta 3.0.0.187 so that I can run my new HSM200. Restartding HS3 helps for a short time. Restarting the PC, doesn't help beyond what a restart of HS3 does.

    Any thoughts of what to look into next? I could go back to an earlier rev of the Zwave plugin, but I'm also interested in other ways to investigate this.
    Doug


    Running script: Exception of type 'System.OutOfMemoryException' was thrown.-> at System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark& stackMark) at System.Threading.Thread.Start(StackCrawlMark& stackMark) at System.Threading.Thread.Start() at A.c1b0f37609f28fb7afed8d440680e6db4.ce86a0a55d3661fa218b566b 5ba926ee0(String ceefe476d1f77adc790c7782141798e1f, Boolean ce791fe9d8290e0d18cd0af1e42db139a, Int32 c3fda549ce0b74c9ad9fc210b529b2226, String c0cf6c15fc505ce256a93afdc5f2268a9, Boolean cc5b1dd80b9769b83d5de72520f2500e0, String c18f60d71139b909e1bc745dcca77e3f9, String cc463bfced87bf099c3125a86fe30843e, Int32 c135c28f517be83dec993779636acd860, String cdba5e903fed69597b9572ece7ed2b748, Object c70fb72fe0bbd8641a8134e71b176a648, Int32 caafe238b1576633e332c6c566f5707f4)

    #2
    Have a look at the systems event viewer for any hints. Also have a look at the task manager to see if you can see what app is using a lot of memory.
    -Rupp
    sigpic

    Comment


      #3
      Nothing helpful showing in event viewer, either in system or application logs.

      The largest memory hog in task manager is svchost (which runs windows services). That was up at 500M. I don't have much in the way of extra services running. I've disabled Dropbox, which is a recent addition to this machine. Not because it appeared to be using much memory, but simply because it is recent.

      Both task manager and process explorer show quite a lot of spare physical memory.
      doug

      Comment


        #4
        Doug,

        I did also get out of memory faults, especially for scripts when I started using the beta. For me it was solved by updating the dll set for each remote speaker and/or remote plugin running. They need to have the same DLL set as Hs3 itself.

        This beta is particalary sensitive to that and runs in memory errors otherwise.

        Any chance you have remote plugins or speakers?

        Wim
        -- Wim

        Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
        650 devices ---- 336 events ----- 40 scripts

        Comment


          #5
          Wim,

          That's very interesting. Thanks for the pointer. I do connect to a speaker client on our media PC (it's the default speaker). I'll try upgrading that.

          regards
          Doug

          Comment


            #6
            I have seen this also but it seemed to be tied to any script using hs.GetURL (see bug number 2322 http://bugzilla.homeseer.com/bugzill...ug.cgi?id=2322)

            Comment


              #7
              I was getting that error a lot after upgrading to .147 and found it related to permissions issues caused by the install.

              Comment


                #8
                Well, updating the remote speaker client seems to have done the trick!

                No errors for that last couple of days. (They would have shown by now)

                Thanks for the input.

                regards
                Doug

                Comment


                  #9
                  Glad to be able to help, have been struggling big time here with the same issue.

                  Wim
                  -- Wim

                  Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
                  650 devices ---- 336 events ----- 40 scripts

                  Comment


                    #10
                    DMcKnight I have the same problem, how can I update the remote speaker client?

                    Comment

                    Working...
                    X