WARN in Logs: "cannot compute used memory / swap"

Elasticsearch 7.8.1 installed on Debian 10 (buster) running on an OpenVZ host. It's a fresh install and the server has 8GB of memory.

The logs are getting filled with the following two entires:

cannot compute used memory when total memory is 0 and free memory is 5992394752

cannot compute used swap when total swap is 0 and free swap is 268435456

I wonder if anyone else bumped into similar problem.

These warnings are spurious, related to a JDK-14 bug, see https://github.com/elastic/elasticsearch/pull/60375 for details and the fix. The fix isn't released yet, so for now you should just ignore these warnings.