The iPhone X will pack one of the largest batteries Apple has put in a smartphone. It's RAM, however, will be the same 3 GB found in the iPhone 8 Plus.
https://www.notebookcheck.net/iPhone-X-to-pack-3GB-of-RAM-biggish-for-Apple-2-716-mAh-battery.251688.0.html