manage_memory function

Manage the in-memory dependencies of a target.