There is a virtual server with 512 MB of RAM. Ubuntu 14, Apache 2.4.7, MySQL, and other programs for running a small django site .. + php
From time to time there are messages of this content:
"low RAM. Apache2 process and 2 others killed by OOM-killer." or "lack of RAM. Apache2 process killed by OOM-killer."
displayed in events in the server control panel ..
I am attaching resource usage statistics: 
It is seen that during normal operation, there is enough memory for the eyes. But at some point there is a surge in memory and intensive reading from the disk. OOM-killer is triggered at this moment.
How to deal with it? How to understand exactly who causes such a load?