Docker memory allocation change

Hello,

I try to use graphhopper just for more precision on my gps point location sent by embedded tools… I store point in database.

So I don’t need front, node …

In dockerfile, could I change the allocated memory -Xmx -Xms to 256M or 512M?

Thanks