Put the summary of the bug you're having here
What I expected to happen was...:
for it to join a server
What actually happened was...:
it ran out of memory when i joined the game
Steps to Reproduce:
1. sign in
2. join a game
3. then it ran out of memory
Did you mess with the profiles on the launcher? If so, you may have lowered the amount of ram that Java starts with. If not, try to allocate more ram using the bottom box in the profile editor. 🙂