Your computer is actually allocating too much RAM, and put simply, the launcher thinks it has more than enough mem, and spits most of it out. Then, your computer allocates that RAM to other stuff, and then technic realizes it needs more RAM, but the allocated RAM is gone, and it quits on you. To fix it, in the launcher options, set memory allocated to 512 mb, or something around there if I'm correct.