Expeceted memory to set to containers

Hello,

Is it ok to set memory limit of mongos, config server and shards to 500MB in a container environment?
What should be the ideal memory setting?