Added memory limit to example app.