3 ms·
> These numbers comprise almost exclusively the JVMs own memory as the benchmark problems use almost no data. 293,788KB ? 762,836KB ? 152,820KB ? 569,632KB ?
by igouy 17y ago
> These numbers comprise almost exclusively the JVMs own memory as the benchmark problems use almost no data.
293,788KB ? 762,836KB ? 152,820KB ?
569,632KB ? 473,416KB ? 120,132 KB ?
- fauigerzigerk 17y agoYou're right, I should've been more specific about which ones I mean, but if you look at the numbers they show exactly what I was explaining. Those tests with very low memory usage show Java using 16 times as much memory as C++ because almost all of it is VM memory, whereas the tests using a lot of memory show Java using only around twice as much memory. At least that's the general picture. I know very well that it depends hugely on what kind of data structures are being used and so on, so it's going to vary.