[Fwd: Re: GCJ vs. C++ in RAM]
Vladimir Levin
vladimirl@wrx-ca.com
Tue Apr 6 21:11:00 GMT 2004
Cool, thanks! Do you have any sense of how much of the heap space is
dedicated to the garbage collector? In other words, if Java didn't have
the Boehm garbage collector built into it, how much smaller would the
heap be? I suspect that if we use C++, we'll use reference counting base
classes or something along those lines, so we won't have the overhead of
running the gc...
Vlad
> Not quite. 4MB on disk, 4MB + 10MB = 14MB in RAM.
>> I have no idea what a similar C++ program would be. I am guessing
> that the executable could be half as large, but the heap would be
> similar for similar applications.
>> Dave.
More information about the Java
mailing list