wip stackoverflow debug
This commit is contained in:
parent
3e1775428d
commit
fd269b491d
5 changed files with 37 additions and 9 deletions
|
|
@ -4,6 +4,21 @@
|
|||
|
||||
## TODO
|
||||
|
||||
### stack overflow
|
||||
|
||||
- <https://crates.io/crates/backtrace-on-stack-overflow>
|
||||
- <https://users.rust-lang.org/t/how-to-diagnose-a-stack-overflow-issues-cause/17320/11>
|
||||
- <https://www.reddit.com/r/rust/comments/1d8lxtd/debugging_stack_overflows/>
|
||||
|
||||
Méthodes pour limiter la stack : réduire la taille de la pile avant de lancer ton binaire en ligne de commande :
|
||||
|
||||
```sh
|
||||
ulimit -s 6144 # Limite la pile à 6Mo
|
||||
# just trainbot
|
||||
RUST_BACKTRACE=1 LD_LIBRARY_PATH=./target/debug ./target/debug/train_dqn_burn
|
||||
ulimit -s unlimited # Pour revenir à la normale
|
||||
```
|
||||
|
||||
- bot burn
|
||||
- train = `just trainbot`
|
||||
- durée d'entrainement selon params ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue