Skip to content

Instantly share code, notes, and snippets.

@Integralist
Created July 19, 2018 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Integralist/6d0ee04eb68ecfdaab8509b1eccadc98 to your computer and use it in GitHub Desktop.
Save Integralist/6d0ee04eb68ecfdaab8509b1eccadc98 to your computer and use it in GitHub Desktop.
[Memory Sharing] #python #rss #resident #virtual #memory

ECS Task has memory allocation of 500mb.

It's a multi-process tornado service with 4 processes.

Each process is reporting 200+ mb of RSS (resident) memory usage, which would mean total memory should be larger than 500mb.

But as processes share memory, the total RSS is likely to be the sum of the memory shared across all child processes + the "unique" memory used by each child process as they diverge from one another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment