The VM does free memory in "real-time" ( whatever that may mean )
The amortized amount of memory is zero ( it keeps falling back to the base 94K used for the base java classes.
If you realy want to know how the VMs memory works and how to tune it, you could do worse than read the Hotspot GC Notes.
Agreed that Java is not the greatest language there could be, but it is the best mainstream language for a majority of applications.
BTW, this test was done on a rather obsolete PIII
More details at Science and Nature
on
Build Your Own Virus
·
· Score: 4, Informative
Science (subscription required)and Nature have more details.
The citation of the paper is
Cello, J., Paul, A.V. & Wimmer, E. Chemical synthesis of poliovirus cDNA: Generation of infectious virus in the absence of natural template. Science published online, doi:10.1126/science.1072266 (2002).
- The VM does free memory in "real-time" ( whatever that may mean )
- The amortized amount of memory is zero ( it keeps falling back to the base 94K used for the base java classes.
If you realy want to know how the VMs memory works and how to tune it, you could do worse than read the Hotspot GC Notes. Agreed that Java is not the greatest language there could be, but it is the best mainstream language for a majority of applications. BTW, this test was done on a rather obsolete PIIICello, J., Paul, A.V. & Wimmer, E. Chemical synthesis of poliovirus cDNA: Generation of infectious virus in the absence of natural template. Science published online, doi:10.1126/science.1072266 (2002).