I suspect they just need to pass in -xmx options to the jvm to avoid this.
If you're referring to full GC you can configure how often that happens and by default it doesn't just wait until memory is nearly full.
If you're referring to full GC you can configure how often that happens and by default it doesn't just wait until memory is nearly full.