Redefining memory management for some actors