Sunday, May 11, 2014

AWS Non-Free Tier

During the process of deploying our application for on AWS, I ran into an interesting issue that we had yet to encounter during the entire development process, memory issues.

It turns out that the free tier of AWS gives you only 512M of memory. This is usually fine, unless you are using a memory hungry language like java (actually any garbage collected language will probably suffer performance issues with this little memory, there was a recent paper published on this. As it turns out the C people are right about garbage collection with respect to performance, however they are still wrong about a human being able to track garbage collection safely.). The last time we deployed the application, we didn't have any issues, but since then there have been some system updates, our code has changed, etc. We must have been very close to the limit last time, because the crash actually takes place on code compilation not runtime.

Anyway, to remedy this I had to upgrade our AWS server to the non-free instance. Thankfully this is only $0.044 per hour, so it won't break the bank.

No comments:

Post a Comment