0

Out of memory error

Jürgen Jürgenson 2 months ago in bOS Server updated 2 months ago 4

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

Hey, im not saying it was auto updated, it was updated just without my knowledge. Our intern was changing some color i think thats how it happened. Nobody is saying who it was and i was unable to get the ip who did it. 

About the recovery - full restore does not work, no matter how old the backup is. I was able to recover the project two times manually node by node importing them back, but the config still "crashed" and when it comes back up its an empty just like new install. I've made pictures and reports to comfortclick and ive opened a ticket. Comfortclick is working on a fix for my issues. As this config crashing is happening on two different buildings.

Ah, ok. I was intrigued about the update, because I also have some installations with 4.4.4, and I was afraid that it could happen.

I also had a similar problem with one local office demo, when updating to a newer version, I faced lot's of errors. Unfortunately I had to recover an old backup and redo some stuff.

Best of luck for the project recovery.

Best regards




Side note: I have two more building that are running fine on bOS 4.6.26 version, Both buildings have 16 apartments. Only heating control with KNX and ventilation control with Modbus. And water, heating and electricity meters witch values are collected and logged by bOS thru mbus to modbus gateway. 

And as Comfortclicks support told me today it seems that ive hit a bOS server limit with my projects(so it got that out of memory error). They are working on a fix. Smaller projects should work OK with 4.6.26.