G
Guest
Hi,
I have a windows app that i'm using to transfer images from one SQL DB to
another doing some processing inbetween because the DB table structures to
hold the images are different.
What i'm finding is that the process fails after several hundred images with
an Out Of Memory Exception. I can see from Task Manager that my app is
chewing up memory (over 1GB) just before I get this error. I've have double
checked all my code and i'm closing all DB connections and memory streams etc
so in theory there should be no memory leaks. It just seems that the garbage
collector is not being called, even when I make an explicit call to
GC.Collect it doesn't seem to get called...
Any ideas?
I have a windows app that i'm using to transfer images from one SQL DB to
another doing some processing inbetween because the DB table structures to
hold the images are different.
What i'm finding is that the process fails after several hundred images with
an Out Of Memory Exception. I can see from Task Manager that my app is
chewing up memory (over 1GB) just before I get this error. I've have double
checked all my code and i'm closing all DB connections and memory streams etc
so in theory there should be no memory leaks. It just seems that the garbage
collector is not being called, even when I make an explicit call to
GC.Collect it doesn't seem to get called...
Any ideas?