You need to figure out -why- it is crashing. Simply increasing your node is not a solution. If it is crashing because it goes out of memory that means you configured it to use more memory than that you have available. Either change the config to use less memory or increase the node if you need stuff stored in memory. Though even then, if your settings are to let mysql consume 20GB memory (as an example) upgrading to 2GB obviously isn't a solution. So first fix the config file so you know how much memory MySQL can use.
mysqltuner is a nice utility that helps you figure this out. It'll tell you the maximum possible memory that MySQL can consume (
http://mysqltuner.pl)