I am adding many and quite big Types/Objects and I call them DirCollection to a seq[DirCollection] = @[]
After adding a certain number of DirCollectons to the seq I get -> Killed Error: execution of an external program failed: '/home/tubbs/code/br-file-cleaner/brcleaner -env dev -dry -verbose'
So I suspect I'm out of memory somehow. How can I fix this or should I not use seq for this?
Thank you
Im making an sql query and select alot of image names about 2000 per query. I push the names into a seq and attach the seq to myObject as a property.
I have about 6 myObjects. Then I am scanning directories associated whith each myObject looking for the images. Depending on if I want to keep or remove them I am making a registry with a Table where the filename of the image is the key and the file-path the value. I guess this should not be that heavy as you say.
I will debug some more too see if the reason could by elsewhere. Thanks
Well, it may be out of memory error but there must be a logic error somewhere or your desktop must be a potato with 1-2GB ram max :) No way filling all memory with a few thousand objects / strings.
Can you share your code ?