On Fri, Dec 29, 2000 at 11:01:47AM -0500, Scott Gregory Miller wrote:
>
>
> On Fri, 29 Dec 2000, Ian Clarke wrote:
>
> > On Thu, Dec 28, 2000 at 10:52:40PM -0500, Travis Bemann wrote:
> > > This kind of stuff really makes me wonder about the state of
> > > programming these days. It seems as if programmers have forgotten
> > > that computers have limited amounts of RAM and swap space and that
> > > processors are not infinitely fast.
> >
> > Well, Java is not known for its efficiency, although this suggests that
> > garbage collection is not happening as it should.
> >
> > What we really need are some people with profiling experience in java to take
> > a close look at Freenet (starting with FProxy) and see what needs improving.
> Well, you start out with the question "what datastructures is FProxy
> using?" and go from there. I really doubt GC is at fault.
With GC you should reuse datastructures whenever possible. The reason
why is if you don't reuse your datastructures, redundant
datastructures that could have been reused build up in memory until
the VM invokes GC. This means that the amount of memory a program
uses can easily fill up available space between GCs. This can be
quite significant if non-incremental GC is used and GC is infrequent.
And don't take this as an insult if you already know this.
--
Travis Bemann
Sendmail is still screwed up on my box.
My email address is really [EMAIL PROTECTED]
PGP signature