maven: Increase memory for tests, decrease stack size.