title: Is there a memory leak with Java String.format()
body: <p>I have this statement in a while loop, I noticed that in the windows task manager, the memory used by the java app process is keep increasing, about several k per second. Is there a memory issue with String.format?</p>
  
  <pre><code>String str = String.format("%dDays %02d : %02d : %02d",days,hours,minutes,seconds);
  </code></pre>