I compile this using jdk1.7.0_25 on Windows 7:
public class Test {
public static void main(String[] args) throws Exception
{
while (true){
System.out.print(".");
}
}
}
But when I run this and view java.exe in the task manager, the memory steadily creeps up.
Does anyone have an explanation for this? This is a cut down version of a program that I'm running which I suspect contains a memory leak.
(Whilst writing this, java.exe started with about 25Mb of memory: I'm now at 100Mb).