[fedora-java] [Fwd: Re: Azureus (Was: bittorrent in core? what frontend?)]
Anthony Green
green at redhat.com
Thu Jan 19 04:51:08 UTC 2006
On Wed, 2006-01-18 at 00:18 -0500, David Walluck wrote:
> There is some strangeness is some of the options. The cache size, for
> example, is negative (-33). This might happen on Sun as well, I am not sure.
The Azureus developers helped track this down. Cache size is derived
from Runtime.getRuntime().maxMemory(), for which we return
Long.MAX_VALUE. Subsequent math on this overflows as we cast to an
integer. My latest SRPM has a patch.
AG
More information about the java-devel
mailing list