Skip to content

Dump heap profiler when memory usage is high#1429

Merged
etschannen merged 4 commits into
apple:masterfrom
jzhou77:pprof
Apr 29, 2019
Merged

Dump heap profiler when memory usage is high#1429
etschannen merged 4 commits into
apple:masterfrom
jzhou77:pprof

Conversation

@jzhou77

@jzhou77 jzhou77 commented Apr 5, 2019

Copy link
Copy Markdown
Collaborator

Enable heap profile dump when RSS memory is larger than a threshold, which is a command line flag. By default, there is no heap dumps. If enabled, the dump interval is every 30s (HEAP_PROFILER_INTERVAL).

This is a task for #1411

Set the threshold of dump to 2GB.
@etschannen etschannen merged commit 1a4c175 into apple:master Apr 29, 2019
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

Successfully merging this pull request may close these issues.

2 participants