Checking for memory and I/O