If you run out of memory, then don't run on high settings.
i dont use high settings
OpenGL on, Fast settings, Power Saver setting (Max FPS is not fast for me or any of my friends that have bad computers), Rendering distance usually on Normal or Short (i use Far when i'm looking around for buildings in SMP servers) and Smooth Shading off