Why java app container consume large memory and how to reduce it

event I set the -Xmx to 100m, the docker stats shows the container takes up around 300m’ memory.