title: Exception: Cannot load model.bin
body: <p>I have got the following error message trying to run a model: </p>
  
  <pre><code>Exception: fastText: Cannot load model.bin due to C++ extension failed to allocate the memory
  </code></pre>
  
  <p>The code I have used is the following: </p>
  
  <pre><code>import wget
  from fasttext import load_model
  
  wget.download("https://dl.fbaipublicfiles.com/fasttext/supervised-models/amazon_review_polarity.bin", 'model.bin')
  
  model = load_model("model.bin")
  </code></pre>
  
  <p>I have tried to follow this answer: <a href="https://stackoverflow.com/questions/45923279/fasttext-cannot-load-model-bin-due-to-c-extension-failed-to-allocate-the-mem">FastText - Cannot load model.bin due to C++ extension failed to allocate the memory</a> but probably I am doing something wrong as the error is still there. 
  Any idea on how to fix it?</p>