I have a Kiosk I'm trying out using Chromium, unfortunately it seems to have a memory leak and crashes in less than 24 hours of usage.

I see systemD has an option for "MemoryMax" but was wondering if anyone has actually used it?

Is it as simple asĀ 
MemoryMax=512M
OnFailure=Restart

or something like that?

Thanks,
Richard