Skip to content

What does the "peak" memory consumption mean? #618

Closed Answered by emeryberger
rongardF asked this question in Q&A
Discussion options

You must be logged in to vote

The peak memory is the peak allocated (requested by the app) but not necessarily the maximum amount used. If you allocate a very large object, it is allocated via mmap, which does not consume (physical) memory until the memory inside the object is actually accessed.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rongardF
Comment options

Answer selected by rongardF
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants