RAM Usage and Memory Allocation

Continuing the discussion from Metabase: RAM Usage:

Im new to metabase and Im facing memory issues with mongo DB. I want to increase the memory allocation to metabase and Im using docker to run metabase.
Can someone please help me ?

Just use the JAVA_OPTS environment variable to pass those values so the container has more RAM available