@freddix
I am not yet with a sam440 for have a 100% surre answer, but for your informations, I believe, presum, the program when close mantain garbage in the video card memory. And to make bigger the proglem, If I am not wrong the OS use partial the video memory if it have more than 128MB.
you need a program to clean the memory after the program end.
A long time a go I make to 68k OS a tool to clean all memory when a problematic aplication END and to cleam virus memory resident programs, maybe I will port it to the new AmigaOS when I have a sam440.
maybe you found this program in aminet for 68k, icememo If I am not confused, mistacked, it have long time.
edit*********
I found 2 that I remember, just to curiosity if any one what test in the 68k system
http://aminet.net/package/util/wb/IceBoothttp://aminet.net/package/util/wb/iceMemoV1