User673681018 posted
It's in a loop. Something like bellow:
foreach( folderinfo folder in directoryinfo.folders()){
//bla bla bla
}
Ok, I will try to dispose the image object to and see where that goes. I thought I got all of them, but I missed the image object. Thanks, for your support.