Raise default Vagrant memory value to 4GB #31

Open
ivomarino opened this Issue Dec 16, 2016 · 5 comments

Projects

In progress in appflow

8 participants

@ivomarino
Member

Considering the today most devs have machines with at least 8 or 16GB of physical RAM we could start considering to increase the default Vagrant memory value to 4GB, actually it's set to 2GB as defined in https://github.com/ttssdev/appflow/blob/master/Vagrantfile#L44.

Especially MySQL intensive tasks and queries could take advantage of more memory, actually some atlantis nodes crash during while executing some heavy queries, like reported by @hubeRsen and @grappler.

@ocean90
Collaborator
ocean90 commented Dec 16, 2016

machines with at least 8 or 16GB of physical RAM we could start considering to increase the default Vagrant memory value to 4GB,

That might be true, but this VM isn't the only process which is running on our machines. Think about IDEs, Chrome, Slack, and maybe other VMs which are running parallel to the atlantis VM.
IMO the memory value should only be increased if we know for sure that low memory is the real cause for this or if it's just a faulty setting somewhere.

@ivomarino
Member

makes sense to me, thanks @ocean90, so let's investigate what pushes the memory usage high.

@ivomarino
Member

We should run some benchmarks e.g. with https://github.com/wg/wrk for http and some MySQL bench/stress test tool.

@velthy velthy removed their assignment Jan 3, 2017
@grappler
Collaborator
grappler commented Jan 6, 2017

@ivomarino What is the progress on this as I need to restart atlantis at least twice a day and it takes time to get back as I get "503 Service Unavailable" in the first couple of minutes after reloading it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment