MacOS 15.6.1
rustc 1.88.0 (installed via homebrew)
I'm trying one of the samples verbatim: jadds-method.toml from this repo.
Nearly always I get 0 compositions output with Limiting memory usage to 0B reported (which would be the cause right?)
When I freed up some system memory, it works and I get mem allocated and comps generated.
I suggest if memory allocated is too small or zero, monument could flag up a low memory situation and exit with error.
Currently it's too easy to miss that low memory is the issue and then you hunt around your .toml looking for config issues that don't exist.
My repro:
❯ monument_cli jadds-method.toml
INFO [monument_cli::music] Using default music. If you want no music, set `base_music = "none"`.
INFO [monument::search::best_first] Limiting memory usage to 0B
5 iters, 0 comps :: 0 items in queue, avg/max len 0/0
SEARCH COMPLETE!
----|------|----------------------------------------------------------------|-----------|-----------
# | len | music 4-bell runs 5678s 8765s 6578s 87s | avg score | calling
0 compositions generated in 43.57ms
❯
❯ monument_cli jadds-method.toml
INFO [monument_cli::music] Using default music. If you want no music, set `base_music = "none"`.
INFO [monument::search::best_first] Limiting memory usage to 116.39MB
# | len | music 4-bell runs 5678s 8765s 6578s 87s | avg score | calling
----|------|----------------------------------------------------------------|-----------|-----------
1 | 1312 | 140.00 : 73 ( 42f 31b) 4f 8b 4f 8b 0f 7b 0 | 0.091463 | sHHBsMHsHMWsMH
2 | 1312 | 138.00 : 71 ( 36f 35b) 4f 8b 4f 8b 0f 7b 0 | 0.089939 | sHHsHBHsHMsMWM
3 | 1344 | 144.00 : 75 ( 38f 37b) 4f 8b 4f 8b 0f 6b 0 | 0.093006 | sHBMsMHBHBHH
4 | 1312 | 145.00 : 77 ( 40f 37b) 4f 8b 4f 8b 0f 8b 0 | 0.091768 | sHBMsMHsHsWBsMBsHH
5 | 1312 | 145.00 : 75 ( 42f 33b) 4f 6b 4f 6b 0f 10b 0 | 0.091768 | BsMMsMHsHsWBsMBsHH
6 | 1314 | 144.00 : 76 ( 43f 33b) 4f 6b 4f 6b 0f 9b 0 | 0.091248 | BsMMsMHsHsWBMMsWW>
7 | 1314 | 144.00 : 78 ( 41f 37b) 4f 8b 4f 8b 0f 7b 0 | 0.091248 | sHBMsMHsHsWBMMsWW>
8 | 1312 | 142.00 : 73 ( 36f 37b) 4f 12b 4f 12b 0f 4b 0 | 0.090244 | sHHHBHsHsWBsMBHH
9 | 1344 | 143.00 : 73 ( 36f 37b) 4f 10b 4f 10b 0f 4b 0 | 0.092262 | sHHBsMHBHBHH
... etc
MacOS 15.6.1
rustc 1.88.0 (installed via homebrew)
I'm trying one of the samples verbatim:
jadds-method.tomlfrom this repo.Nearly always I get
0 compositionsoutput withLimiting memory usage to 0Breported (which would be the cause right?)When I freed up some system memory, it works and I get mem allocated and comps generated.
I suggest if memory allocated is too small or zero, monument could flag up a low memory situation and exit with error.
Currently it's too easy to miss that low memory is the issue and then you hunt around your
.tomllooking for config issues that don't exist.My repro: