Group: comp.lang.c++
From: Razii
Date: Saturday, April 12, 2008 7:06 PM
Subject: Re: Do you use a garbage collector (java vs c++ difference in "new")

On Sun, 13 Apr 2008 02:53:25 +0300, Juha Nieminen
wrote:

> In a Sun-Fire-V240 computer I was able to bring down the execution
>time of that program from 24630 ms to 3990 ms by using my own (portable)
>memory allocator. The maximum memory usage was something like 55 MB.
>
> "java Test" in that same computer runs the java program in 4502 ms.
>With "java -server -Xms170m -Xmx170m -XX:NewRatio=1 Test" it was
>1828 ms.

What was the memory usage with -server -Xms170m -Xmx170m
-XX:NewRatio=1


Safety Articles | Usenet Groups | Usenet News | Bluegrass