New findings in Apple's Xcode confirm earlier AnTuTu posts showing that the new iPhone 11, iPhone 11 Pro, and iPhone 11 Pro Max have 4 GB of RAM. While the iPhone XR from last year had only 3 GB of RAM, both the iPhone XS and XS Max had 4 GB, making the iPhone 11 family less tantalizing to potential upgraders.
https://www.notebookcheck.net/Xcode-finding-quashes-iPhone-RAM-rumors-confirms-all-2019-models-have-4-GB.435005.0.html