You can only apply actions to files, not to memory blocks.
Can you post more info about the detection? Process name, virus found.