If you are this low on memory, the best choice would be to switch a lightweight Desktop Environnement (DE), such as:

- [XFCE](https://www.xfce.org/)
- [Mate](https://mate-desktop.org/)
- [LXDE](https://lxde.org/)
- [LXQt](https://lxqt.org/)
- etc.

### If you want to install XFCE (example):

First, you need to add the [EPEL repository](https://fedoraproject.org/wiki/EPEL), as this is where you will install packages from:

    # yum -y install epel-release
    # sed -i -e "s/\]$/\]\npriority=5/g" /etc/yum.repos.d/epel.repo # set [priority=5]
    # sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/epel.repo # for another way, change to [enabled=0] and use it only when needed
    # yum --enablerepo=epel install [Package] # if [enabled=0], input a command to use the repository

Then you can install XFCE Desktop Environment as following:

    # yum -y groupinstall X11
    # yum --enablerepo=epel -y groups install "Xfce"