getappmap / appmap-intellij-plugin

MIT License
38 stars 9 forks source link

Use background process reader options for the appmap services #104

Closed dividedmind closed 2 years ago

dividedmind commented 2 years ago

Looking through the logs, I noticed this:

2022-09-02 02:44:35,795 [ 142091]   WARN - #c.i.e.p.BaseOSProcessHandler - Process hasn't generated any output for a long time.
If it's a long-running mostly idle daemon process, consider overriding OSProcessHandler#readerOptions with 'BaseOutputReader.Options.forMostlySilentProcess()' to reduce CPU usage.
Command line: /home/user/.cache/JetBrains/appland-plugin/scanner/1.70.0/scanner-linux-x64 scan --watch

Seems like good advice.

jansorg commented 2 years ago

Fixed by https://github.com/applandinc/appmap-intellij-plugin/pull/81/commits/b9ef648646c16c93268abe6cf783fb24eaab4a48