How can I increase the available RAM?

I need to increase the availbale RAM, I am using snappy , but it rus out of memmory after processing to image , how can I improve this . I know one way is increasing the RAM.

Please have a look at this thread: