Adjust memory sizes of test applications

Now that $MEMORY_LIMIT is honoured, 1G is excessive for these test
applications.

play-application runs ok in 512M but fails in 256M

grails-application runs ok in 512M but fails in 256M

groovy-application runs ok in 256M but fails in 128M

spring-boot-application runs ok in 512M but fails in 256M

java-application runs ok in 128M

web-application runs ok in 258M but fails in 128M

[#55012628]
Merge 55012628-reduce-memory to master

[Completes #55012628]