Limit memory usage (RAM) on a per site basis

Hello, have you an idea to limit memory (RAM) On a per site basis in a multisite installation ?