A leak on Weibo claims that the Galaxy S10 lineup will consist of 4 versions of the phone rather than the usual 2. One of these will be a 5G variant - with 12GB RAM. The Weibo poster also believes that the Huawei P30 Pro will have this spec.
https://www.notebookcheck.net/Samsung-Galaxy-S10-now-rumored-to-come-in-4-variants-one-of-which-will-have-12GB-of-RAM.346356.0.html