Skip to content

Suspected memory leak during search key word in oversized log files #1146

@haigithub

Description

@haigithub

OS: Ubuntu 20.04

fresh version:

fresh --version
fresh 0.2.9

operating steps:

  1. fresh myself.log System RAM: total system memory usage is about 65%~67%, and there is no significant change.
  2. Ctrl+F search the key word in the log. System memory usage surges to 97%.
  3. Ctrl+Q exit fresh.
  4. Some invalid information is output to the terminal.

other information:

  1. The size of myself.log is 4.6 GB.
  2. Total system memory is about 32GB.
$ cat /proc/meminfo
MemTotal:       32538176 kB
MemFree:         8323380 kB
  1. The initial fresh version used was version 0.1.98, which had this issue. After upgrading to version 0.2.9, the problem still persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions