autotune: ignore parameter samples asking too much memory
autotune: ignore parameter samples asking too much memory

Summary: When autotune generates new parameters, it may ask for too much memory (big dictionary, big matrices). Depending on the hardware, these may result to std::bad_alloc errors. In this fix we simply ignore those points, so that supporting hardware explores the parameters, others skip them.

Reviewed By: EdouardGrave

Differential Revision: D17626911

fbshipit-source-id: 2568b85d8c6b3f57623a441a6da3afc36451e9c8

facebookresearch/fastText,facebookresearch/fastText,facebookresearch/fastText,facebookresearch/fastText,facebookresearch/fastText,facebookresearch/fastText