The question is now it is working or not. Another question how behave Leela when she reaches the limit..brianr wrote: ↑Sun Jul 21, 2019 7:31 pmThere already is a parameter, although there is some question about how accurate it is.corres wrote: ↑Sun Jul 21, 2019 5:43 pm The huge memory usage of Lc0 is a returning theme on the sites of LC0.
But this is the first established answer for it.
Why, Dear "crem"?
Is it so great secret?
I can not believe the developers of Leela can not make modifiable the usage of RAM with an UCI parameter. Maybe it would decrease the Leela`s Elo in some measure but this effect would be decreased with a timed and structured Hash table as it is in AB engines.
It is not an elegant solving for this issue to let the Leela freezing down when it consumes the full of system RAM.
--ramlimit-mb=0..100000000
Maximum memory usage for the engine, in megabytes. The estimation is very rough,
and can be off by a lot. For example, multiple visits to a terminal node counted
several times, and the estimation assumes that all positions have 30 possible
moves. When set to 0, no RAM limit is enforced.
[UCI: RamLimitMb DEFAULT: 0 MIN: 0 MAX: 100000000]
I also note the 250 bytes / node usage from RAM and 350 bytes / NN Cache are new information for me and I am afraid not only for me.