Sample Header Ad - 728x90

Why systemd-run memory limiting cause crash of program?

0 votes
1 answer
146 views
I am using different methods for different programs to control their resource management. When I used **systemd-run** for **gimp**(GNU image manipulation program), when picture's memory requirement is higher than limit(i.e. 300MB which I set), program crashed and closed. Is there any **systemd-run** method which provides both using it safely without crashing and limiting its memory to a limit? I used below command to start it with systemd-run in its shortcut (i.e. its desktop file ) :
systemd-run --scope -p MemoryLimit=300M gimp-2.8 %U
Asked by user458762
Mar 17, 2022, 06:21 PM
Last activity: Mar 17, 2022, 06:46 PM