The general answer is that garbage will be collected less frequently, but GC pauses will tend to be longer.
It is assumed that you already have more memory for the virtual machine than the size of the working set; otherwise you could spend a lot of time collecting garbage.
GC , Java, -Xms XXX. Java ( 5) . , -Xmx, - , .
, "" , , . , , . , , GC ( ). , , GC , .
, -Xmx (google java gc), , .