Used and free Memory in Java
I am trying to improve the `performance` of my `web-application` so I decided to do `profiling` of it.<br/>
When doing this I noticed that after completion of a long process when I start task manager I saw that `java.exe` is taking too much memory.<br/>
By the way I've checked it after 2-3 hours after the process complete and cpu is in stable state.<br/>
I saw in the profiler's `VM elementry view`, `Used memory is 5 GB` and `free memory is 15 GB` and in task manager total `memory` used by `java.exe is 41 GB`.<br/>
What is this `free memory`?<br/>
Is it something like now this much `memory` will be taken by `java`?<br/>
I noticed as the process begins and running `used memory` as well as `free memory` grows, but after completion used memory decreased but not free memory.<br/>
I am wondering is there any problem with my `application` or it is normal?
Used and free Memory in Java
===

I am trying to improve the `performance` of my `web-application` so I decided to do `profiling` of it.<br/>
When doing this I noticed that after completion of a long process when I start task manager I saw that `java.exe` is taking too much memory.<br/>
By the way I've checked it after 2-3 hours after the process complete and cpu is in stable state.<br/>
I saw in the profiler's `VM elementry view`, `Used memory is 5 GB` and `free memory is 15 GB` and in task manager total `memory` used by `java.exe is 41 GB`.<br/>
What is this `free memory`?<br/>
Is it something like now this much `memory` will be taken by `java`?<br/>
I noticed as the process begins and running `used memory` as well as `free memory` grows, but after completion used memory decreased but not free memory.<br/>
I am wondering is there any problem with my `application` or it is normal?