title: InfluxDB on Windows Subsystem for Linux "cannot allocate memory"
body: <p>On Windows Subsystem for Linux running Ubuntu 16.04, I've installed InfluxDB 1.4.2 according to the <a href="https://docs.influxdata.com/influxdb/v1.3/introduction/installation/" rel="nofollow noreferrer">Influx documentation</a>.  I can't run it as a service or with systemctl, probably because WSL doesn't support that (see GitHub issues <a href="https://github.com/Microsoft/WSL/issues/994" rel="nofollow noreferrer">994</a> and <a href="https://github.com/Microsoft/WSL/issues/1579" rel="nofollow noreferrer">1579</a>), so neither of these work:</p>
  
  <pre><code>$ sudo service influxdb start
  influxdb: unrecognized service
  $ sudo systemctl start influxdb
  Failed to connect to bus: No such file or directory
  </code></pre>
  
  <p>If I run <code>$ sudo influxd</code>, Influx starts, but then crashes with the message</p>
  
  <pre><code>run: open server: open tsdb store: cannot allocate memory
  </code></pre>
  
  <p><strong>How do I fix the "cannot allocate memory" error?</strong></p>