1GB is way more than enough. There are different types of buffer sizes you can setup, i seriously doubt that your SQL server uses very much of your memory. Try giving each connection more memory access i think default 64k which would mean you can use a maximum of 64Mb RAM.
Heres some info on MySQL memory usage.
I am no expert though, before i make a fool of my self 😉