LOG4OM is crashing more often

V2 error reports
Post Reply
9k2hn
Advanced Class
Posts: 49
Joined: 03 Aug 2014, 09:33

LOG4OM is crashing more often

Post by 9k2hn »

I'm using Ver 2.34.0.0 and mariadb everything looks ok but when I tried to perform a backup after freezing for a few minutes Log4OM crashes, and even some times when I search old qso marked with requested to be uploaded to HRD it crashed again.

Here a copy of the log

2024-12-05 18:13:33.0128 INFO: [LOTWManagement] : 0 success; log signed and uploaded and accepted without incident
2024-12-05 18:13:33.0168 INFO: [dje_zFDC6QQW5Q9M3VZUW9TGP3NZV8NGA_ejd] : Recalculating statistics asynchronous process started
2024-12-05 18:13:33.0178 INFO: [dje_zTNVCEHR5QUKXW9PTRXDNAEZZTMWLTWDG4W_ejd] : Calculating stats...
2024-12-05 18:13:33.0188 INFO: [LOTWManagement] : [LOTW UPLOAD] INFO: LOG SAVED
2024-12-05 18:13:58.0442 INFO: [ProgramStorage] : Performing partial reset of application cache on CountryStatistics
2024-12-05 18:14:32.6450 INFO: [dje_zNN7P72X9DNK73FCGFLG5S_ejd] : Updating worked before list...
2024-12-05 18:21:48.4042 ERROR: [Confirmations][FromString] : [EXCEPTION] Exception of type 'System.OutOfMemoryException' was thrown. System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Collections.Generic.List`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
at System.Collections.ObjectModel.Collection`1.GetEnumerator()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)
at Newtonsoft.Json.Utilities.StringUtils.ForgivingCaseSensitiveFind[TSource](IEnumerable`1 source, Func`2 valueSelector, String testValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at L4ONG.BE.Contact.Confirmations.FromString(String dje_z3U8ABW5DD5TSLN2_ejd)


Any idea?
log size 533k
User avatar
G4POP
Log4OM Alpha Team
Posts: 11571
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: LOG4OM is crashing more often

Post by G4POP »

Says you have a memory issue
73 Terry G4POP
9k2hn
Advanced Class
Posts: 49
Joined: 03 Aug 2014, 09:33

Re: LOG4OM is crashing more often

Post by 9k2hn »

But sure this is not the issue I have 32GB of Ram, maybe due to Log4OM limitation because it is 32bit?
User avatar
G4POP
Log4OM Alpha Team
Posts: 11571
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: LOG4OM is crashing more often

Post by G4POP »

9k2hn wrote: 06 Dec 2024, 05:53 But sure this is not the issue I have 32GB of Ram, maybe due to Log4OM limitation because it is 32bit?
Could be a faulty memory strip, do the tests for that

Also try a fresh install - Uninstall from Add and remove programs - fresh download and install
73 Terry G4POP
9k2hn
Advanced Class
Posts: 49
Joined: 03 Aug 2014, 09:33

Re: LOG4OM is crashing more often

Post by 9k2hn »

Sorry for the delay, I'm using mariaDB, what is the best way to backup and restore? including log4om setting
9k2hn
Advanced Class
Posts: 49
Joined: 03 Aug 2014, 09:33

Re: LOG4OM is crashing more often

Post by 9k2hn »

Wehn I pasted the error log into Gemini I got this

Possible Causes and Solutions:

Large Logbook: If you have a very large logbook with many QSOs and confirmations, it might exceed the memory capacity of your software or system.
Solution: Consider increasing your computer's RAM or using a 64-bit version of your logging software if available. You could also try splitting your logbook into smaller files.

So is there any chance to upgrade Log4OM to 64bit?
User avatar
SP2L
Advanced Class
Posts: 55
Joined: 29 Aug 2019, 13:33
Location: Tczew, Poland
Contact:

Re: LOG4OM is crashing more often

Post by SP2L »

Hello Hamad.
9k2hn wrote: 20 Dec 2024, 15:30 Sorry for the delay, I'm using mariaDB, what is the best way to backup and restore? including log4om setting
Log4OMv2 configuration is stored in file located here:
C:\Users\<your-username>\AppData\Roaming\Log4OM\user\config.json
Alternatively, you may save whole C:\Users\<your-username>\AppData\Roaming\Log4OM directory.
In my W10 system it is 699Mb big.

In regard backup of MariaDB database, see User Guide,
chapter "Installing MySQL-8.0.20 with Log4OM Version 2",
page 266, below last picture.

Hope this helps.
Best regards.
Tom - SP2L
https://www.sp2l.eu
Post Reply