DDOS(distributed denial of services) and memory relation?

How to find which process is eating RAM memory in Linux while syn flood (DDOS) centos 6.7
I dont find process which increased memory

I think ddos has more impact on cpu rather than memory, you might be having idea of process open to the outside world,so just type “top” and M (caps) to see top memory consumers.