title: Running a play framework app in Amazon EC2 micro instance
body: <p>I have a really basic play! app which simply handles a couple of normal GET and POST requests and talks to a MySQL database, nothing fancy.</p>
  
  <p>I ran <code>play dist</code> and transferred the zip file to my EC2 instance. After unzipping it, going to the <code>bin</code> folder and running <code>./myapp</code>, I get a message:</p>
  
  <pre><code>Java HotSpot(TM) 64-Bit Server VM warning: Info: os::commit_memory ... error='Cannot allocate memory' (errorno=12)
  There is insufficient memory for the Java Runtime Environment to continue.
  </code></pre>
  
  <p>I'm running Play version 2.2.1 and this instance has about 512MB of ram, with the 64-bit version of the Oracle JDK. Is this not enough to run a play! app or am I missing something?</p>
  
  <p>Thanks.</p>