I have an issue with memory management in my application. The application memory is growing up rapidly during the runtime. I'm using datasets in the disconnected mode. To overcome this issue, I'm flushing the DS frequently and also using SetProcessWorkingSetSize to manage the memory usage. It's working fine in my development computer. What are the pros and cons of using SetProcessWorkingSetSize?

Edit
Report