You should use ps -aux | grep apache to find out the number of processes that apache is running on. And lookout for the "RSS" column which gives an estimate of the memory used by each process. Alternatively, you can use "top", where you shift + f and then select the %MEM column to sort the processes by memory usage.