I am noticing a memory leak problem in my java application running on Windows 2000.
This application uses the Jakarta DBCP component to manage pooled database connections. The sql driver class is DB2Driver.

When I call Runtime.totalMemory()I get 3.5meg and Runtime.freeMemory is 1 meg .
But looking at the Windows Task Manager the memory usage and vm size shows 100meg. Why the big difference in size between java runtime and the task manager?