troubleshooting Question

Thread lifecycle

Avatar of starusa
starusa asked on
ASP.NET
7 Comments1 Solution647 ViewsLast Modified:
Hey,

I'm working on an application to scan receipts. When the receipt is saved, It has to be uploaded to a ftp server. I'm using Webclient, and it woked fine, but I don't want the user to wait for the file to be uploaded. I'm considering using a thread, so the upload would run on the background.

My doubt is about the time that thread will be running. When the file is uploaded, the thread is ended? How to manage the memory in that case? The user who scans, does that a thousand times per day, so, I want to be sure about the memory usage by the threads.

Thanks!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros