RESOLVED FIXED Bug 213991
Spams system logs with "Current memory footprint: 10 MB"
https://bugs.webkit.org/show_bug.cgi?id=213991
Summary Spams system logs with "Current memory footprint: 10 MB"
Michael Catanzaro
Reported 2020-07-06 07:46:09 PDT
I see new logs in my journal: Jul 06 09:44:50 chargestone-cave WebKitWebProcess[998142]: Current memory footprint: 25 MB Jul 06 09:44:52 chargestone-cave WebKitWebProcess[998245]: Current memory footprint: 28 MB Jul 06 09:44:53 chargestone-cave WebKitWebProcess[998350]: Current memory footprint: 8 MB Jul 06 09:45:15 chargestone-cave WebKitWebProcess[996536]: Current memory footprint: 52 MB Jul 06 09:45:15 chargestone-cave WebKitWebProcess[996532]: Current memory footprint: 64 MB Jul 06 09:45:15 chargestone-cave WebKitWebProcess[996538]: Current memory footprint: 10 MB Jul 06 09:45:20 chargestone-cave WebKitWebProcess[998142]: Current memory footprint: 25 MB Jul 06 09:45:22 chargestone-cave WebKitWebProcess[998245]: Current memory footprint: 27 MB Jul 06 09:45:23 chargestone-cave WebKitWebProcess[998350]: Current memory footprint: 8 MB Jul 06 09:45:45 chargestone-cave WebKitWebProcess[996536]: Current memory footprint: 52 MB Jul 06 09:45:45 chargestone-cave WebKitWebProcess[996532]: Current memory footprint: 64 MB Jul 06 09:45:45 chargestone-cave WebKitWebProcess[996538]: Current memory footprint: 10 MB Jul 06 09:45:50 chargestone-cave WebKitWebProcess[998142]: Current memory footprint: 13 MB Jul 06 09:45:52 chargestone-cave WebKitWebProcess[998245]: Current memory footprint: 28 MB Jul 06 09:45:53 chargestone-cave WebKitWebProcess[998350]: Current memory footprint: 8 MB It's too much, they are printing every few seconds. This will add up.
Attachments
Patch (1.62 KB, patch)
2020-07-06 08:01 PDT, Michael Catanzaro
no flags
Michael Catanzaro
Comment 1 2020-07-06 07:56:37 PDT
Let's do this only on Apple platforms (I understand expectations for log output are different there).
Michael Catanzaro
Comment 2 2020-07-06 08:01:39 PDT
Darin Adler
Comment 3 2020-07-06 11:49:36 PDT
Comment on attachment 403596 [details] Patch This is OK, but I wonder what the disconnect between macOS logging and other platforms is that makes it good to log on macOS but too noisy elsewhere. That might affect other logging too.
EWS
Comment 4 2020-07-06 12:03:50 PDT
Committed r263978: <https://trac.webkit.org/changeset/263978> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403596 [details].
Michael Catanzaro
Comment 5 2020-07-06 14:35:02 PDT
(In reply to Darin Adler from comment #3) > This is OK, but I wonder what the disconnect between macOS logging and other > platforms is that makes it good to log on macOS but too noisy elsewhere. > That might affect other logging too. FWIW, I don't see any other problematic logs in my journal. I think most release logging is not enabled by default. Maybe it's only memory pressure info that's being logged by default? If Apple is OK with getting rid of this particular log entirely, I guess we wouldn't have any disconnect.
Darin Adler
Comment 6 2020-07-06 14:36:08 PDT
Maybe Chris Dumez knows more?
Note You need to log in before you can comment on or make changes to this bug.