grijjy / GrijjyCloudLogger

GrijjyCloudLogger, remote logging for Windows, iOS, Android, macOS and Linux
Other
108 stars 29 forks source link

GrijjyLogViewer crashed after logging many restartable processes #11

Open VasyutkinVeniamin opened 4 years ago

VasyutkinVeniamin commented 4 years ago

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