I was running a dual boot of windows 10 and Ubuntu 16.04. my Ubuntu was running out of disk space and I decided to go to windows and resize the Ubuntu partition to a larger volume but realized it was not possible
after reading different online articles on how to resize partitions in Ubuntu, i decided to use the live cd method and opened gparted
then resized my Ubuntu partition though i was unsuccessful at the start because I had never done it before.
i managed to later increase the space of the Ubuntu disk though in the process, I deleted the windows partition but kinda didnt bother a lot since I was planning on uninstalling windows soon. i resized the ubuntu partition and thought that was all. there was no space i left unallocated because i shared the volume between the ubuntu partition and local disk.
when i restarted my PC, i realized after some time that it had started hanging and decided to go increase the swap partition from 3.5gb to 8gb (since i read somewhere that the swap partition is supposed to be twice your RAM. and my laptop got 4gb ram), because i thought maybe the problem was with the swap memory.
after restarting into my Ubuntu, i thought i was set and to realize, freezing became intense because my laptop has been freezing for the whole day. it never used to freeze a lot when i had windows(would freeze but once in a while). so i am so confused now and don't know what to do because theres even a downloader of mine that just canceled all my running downloads with an error saying "Your computer does not have enough free memory"