My worst camping/heartburn experience was 4 years ago when someone made "walking tacos." That is a heavy taco meat with appropriate seasonings (not hot, btw) served in a bag of Fritos with cheese and sour cream. I slept in my sleeping bag while sitting up, leaned slightly forward (somehow I had forgotten my antacid and a/c!). Aside from one near hypothermic experience, it was the most miserable night camping I have ever experenced.
My point is that now, this never happens to me, because I am careful about what I have to eat/drink before bed. I generally only drink water (all day every day, after my requisite 2 cups of morning coffee). No more sodas or tea, which I used to down all day long. I also limit my rich sweets late.
I want to hear more here, as it is informative to see how eating and drinking relate to warmth.