Closed dercoder closed 6 months ago
Hi Alexander,
Assuming you're sharing a line from the output of top
in Alpine, you're looking at the VSZ
(virtual set size) stat, which does show about 1.2gb:
You can press s
to switch to the next view, which shows the RSS size of supercronic is actually just 14mb:
You can also confirm the memory usage directly from /proc:
/ # cat /proc/1/status | egrep -i 'name|rss'
Name: supercronic
VmRSS: 14316 kB
RssAnon: 7148 kB
RssFile: 7168 kB
RssShmem: 0 kB
Hi Alex,
Assuming you're sharing a line from the output of top in Alpine, you're looking at the VSZ (virtual set size) stat, which does show about 1.2gb:
Yes correct.
You can press s to switch to the next view, which shows the RSS size of supercronic is actually just 14mb:
You are right.
Thank you for clearification.
I also checked then the usage with docker stats
and you are right.
My mistake and thank you for clearification.
No problem!
I am using supercronic in my docker containers and saw that it consumes a lot of memory.
This pretty old version use about 700MB of memory which is a lot. So I tried a newer version:
but this newer version (v0.2.29) consumes even more memory (1.2GB).
Did I miss something here? I can't beleive that supercronic requires more memory than my application itself.