$ 0 0 Using DI or Singleton mode is a good choice. Saving in cash is not perfectly. Becasue the gc has different behavior on different platforms.