I get it too, but usually in the morning rather than at night. I have read up on it a good bit. It is recommended to not eat 3 hours or less before you go to bed. Elevating your head or sleeping on your left side is said help prevent acid reflux with some. Gravity is your friend. Exercise can help as well since it helps the digestive process. If you are late-night snacker, stay away from large meals, acidic foods, chocolate, and caffiene. I never seem to have problems with dairy products, like ice-cream or cereal type snacks. Bread and grain products seem to be pretty safe in general. I get thirsty at night occassionally and this is sometimes a problem for me. If there is food in me yet to be digested, even drinking some water seems to activate the acids and lying in bed may cause reflux. I try to drink enough water before bed so I don't get thirsty later on.
For me, it seem to take some minor lifestyle changes, such as what I eat in the morning, exercise and avoiding late meals. I no longer take vitamins in the morning because it got to the point where I was getting serious reflux and heartburn from them. I am pretty sure I get reflux because it runs in my family. I still get it from time-to-time, so I just make sure I keep a bottle of Tums nearby. Antacids works pretty well for me.