Out of memory error
Hey,
Asking for help or info.
Ive been getting this Out of memory error lately with 4.6.20 and 4.6.26 servers.
First i noticed it with a old server that was still on 4.4.4 version but got updated without my knowledge. After the update it crashed every 3 days giving a out of memory errors in the log.
Today it happened again, when our 4.6.20 Bos server was acting strange - it wouldn't update button presses on a control panel - So i did a server reload from bos config to see if it would help. But after the reload everything was gone. It loaded up a new empty config all themes and devices deleted.
With a error:
Devices : 27.01.2020 10:32:39 : Error : Server : Error loading file C:\Program Files (x86)\ComfortClick\bOS Server\Building\Configuration.bin. Exception of type System.OutOfMemoryException was thrown. at System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Runtime.Serialization.SerializationInfo.AddValueInternal(String name, Object value, Type type)
at System.Runtime.Serialization.SerializationInfo.AddValue(String name, Object value, Type type)
at System.Runtime.Serialization.SerializationInfo.AddValue(String name, Object value)
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseMember(ParseRecord pr)
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Parse(ParseRecord pr)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadMemberPrimitiveUnTyped()
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at BOSCommon.Helpers.Serialization.ReliableSerialization.Load(IServer server, String filename, BinaryFormatter bf)
Next reload wont help and the error is gone with the next reload as if it wouldn't even load the building folder.
Im really hoping that comfortclicks guys can restore my building folder because there was a lot of updates and no backups from today.
Regards,
Guy with a headache
Hey mate, any news on that one?
Were you able to recover anything?
By the way, I'm seriously intrigued on the supposed "auto update" of a 4.4.4 installation. As far as I know, bOS never updates by itself.
Are your sure that no one messed around? I had serious problems with an update as well, had to recover a big part of the configuration.
Best regards