Hi,
D2asv4 should be acceptable upgrade from F2sv2 if your main goal is to increase RAM. Based on Azure Compute Units (ACU) the D2asv4 is a little faster (230-260 vs 195-210), RAM is double, and disk I/O is basically the same and cost is not much more.
https://learn.microsoft.com/en-us/azure/virtual-machines/dav4-dasv4-series#dasv4-series
https://learn.microsoft.com/en-us/azure/virtual-machines/fsv2-series
Keep in mind if the new SKU isn't enough power it is easy to increase it if needed.
If the above was helpful please click Accept Answer.
Thanks.
-TP