-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9 Jul 2006, at 01:40, Florent Daigni?re (NextGen$) wrote:

> * Colin Davis <Colin at sq7.org> [2006-07-08 23:41:24]:
>
>> Fair- The profilers I found all seemed to be GUI based- I run my node
>> on a server without X, that I can only access via SSH.  I know Java
>> 1.5 has a way do generate a profile text file, though..
>>  I'll look into it, I suppose.
>
> No need to : I can explain the current strategy:
>
> We *force* the GC every 18.25 sec in our MemoryChecker thread. So,  
> yes,
> it probaly creates CPU spikes ;)

Indeed, it could be the cause of all our CPU issues.  Can you explain  
the rationale for this?

I have heard Java engineers say that the System.gc() command is one  
of the most abused commands in the Java API - because 99.9% of the  
time programmers think they should use it, they are wrong.

Ian.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iD8DBQFEsMbqQtgxRWSmsqwRAkkRAJ9jnM17/gyfEN9DXryawN5i2HPw2gCfXON6
Bdws3oYyKsclefuIU4S2FT4=
=2zRR
-----END PGP SIGNATURE-----

Reply via email to