GrijjyLogViewer works in a server session for 10 days or more.
The logging application is restarted every night.
After restarting the GrijjyLogViewer application will add a new tab for logging.
If the number of tabs exceeds 10-20, GrijjyLogViewer crashes (out of Memory).
1) I suggest clearing tabs for inactive processes.
2) I propose to put in the settings the number of hours for storing information on inactive processes.
All the information for this is there
Need to add
TgoProcess = class (TObject)
FFirstMessageTime: TDateTime;
....
FLastMessageTime: TDateTime; //last message datetime
If (FLastMessageTime - FFirstMessageTime) < HoursTo then .... // clear tab
GrijjyLogViewer works in a server session for 10 days or more. The logging application is restarted every night. After restarting the GrijjyLogViewer application will add a new tab for logging. If the number of tabs exceeds 10-20, GrijjyLogViewer crashes (out of Memory).
1) I suggest clearing tabs for inactive processes. 2) I propose to put in the settings the number of hours for storing information on inactive processes.
All the information for this is there Need to add TgoProcess = class (TObject) FFirstMessageTime: TDateTime; .... FLastMessageTime: TDateTime; //last message datetime
If (FLastMessageTime - FFirstMessageTime) < HoursTo then .... // clear tab