-
Hey! I am digging into the internals of this program. I noticed it can check the memory consumption of a worker process and reload it automatically to avoid memory leaks. However internally I see it checks for RSS (which does not include swapped memory) instead of VSZ (which includes all allocated memory). I bet you had a reason to do so, can you elobarate? Thanks! 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@lezhnev74 Hey. RSS memory is the actual memory used by the application. VSZ on the other hand is just a memory that in total can be accessed by the application, but that's doesn't mean, that the memory is actually occupied. VSZ is always higher than the RSS and doesn't show the actual memory consumption. |
Beta Was this translation helpful? Give feedback.
@lezhnev74 Hey. RSS memory is the actual memory used by the application. VSZ on the other hand is just a memory that in total can be accessed by the application, but that's doesn't mean, that the memory is actually occupied. VSZ is always higher than the RSS and doesn't show the actual memory consumption.