Someone wrote:
> I recently setup 0.4 (14102001 for Windows I think) and noticed that,
where
> you put in the maximum size of of the store, it whouln't take anything
above
> 2047M (0x7fffffff bytes).  any possibility of scaling this by Ks or
clusters
> or something to allow larger (20-30Gb) stores?  I am runing my instalation
> off a Maxtore 80G drive, so I can afford the space.

and Oskar Sandberg wrote:
> Well, if it isn't a windows problem, then it is probably a problem with
> that particular JVM. Freenet uses signed 64 bit numbers for all data
> sizes.

Naw, what it is is the atol function is being used to read the conf file.
That function can return at most a 32-bit number, which it caps to INT_MAX.
If Freenet uses signed 64 bit numbers then the windows NodeConfig
application should probably use an ascii-to-longlong rather than
ascii-to-long function.  I'll make the change myself ;  someone else will
have to verify that my change works, as I don't have the necessary libs to
compile NodeConfig myself.  (my MSVC package is out of date (version 5) and
ISTR that the up-to-date import libs (for InternetGetCurrentState or
whatever) are only VC++6 compatible)

Dave


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to