Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GrijjyLogViewer crashed after logging many restartable processes #11

Open
VasyutkinVeniamin opened this issue Oct 27, 2020 · 0 comments

Comments

@VasyutkinVeniamin
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant