Apparently the Sony Xperia XZ2 gets 6GB RAM in the US, UK and Canada as well - GSMArena.com news
Amazon.com: Sony Xperia 10 IV Dual SIM 128GB ROM + 6GB RAM (GSM only | No CDMA) Factory Unlocked 5G Smartphone (Lavender) - International Version : Cell Phones & Accessories