AtheMathmo / rusty-machine

Machine Learning library for Rust
https://crates.io/crates/rusty-machine/
MIT License
1.25k stars 152 forks source link

Killed: 9 #203

Open karasjoh000 opened 5 years ago

karasjoh000 commented 5 years ago

I get a sigkill when training on a 219000x100 matrix.

infinite-Joy commented 5 years ago

This is probably done from the OS side as a safety mechanism due to unsufficient memory in the machine. I am assuming you are probably using a linux machine. In that case this will be carried out by the OOM_killer. Size of f64 in rust is 8 bytes: ref so a matrix of your size should have 200 MB. Can you log the memory consumption of your machine and see if you really have 200 MB during execution or are you doing too many things at once.