title: Java .jar uses too much memory
body: <p>I'm making an application in Java using Eclipse Indigo. When I run it using Eclipse the Task Manager shows javaw.exe is using 50mb of memory. When I export the application as a runnable .jar and execute the .jar the Task Manager shows javaw.exe is using 500mb.
  Why is this? How could I fix this?</p>
  
  <p>Edit: I'm using a Windows 7 64 bit, and my system says I have Java 1.7 installed. Apparently the memory problem is caused by a while loop. I'll study what's inside the while loop causing the problem.</p>
  
  <p>Edit: Problem found. At one point in the while loop new <code>BufferedImage</code> instances where created, instead of replacing the same <code>BufferedImage</code>.</p>