2000 DPI is very high, and since your PDF is over 8.2"x11.8" you are generating a 16,444x23,600px image, or a 388MegaPixel image. Compare to lastest highend iPhone camera which only takes 48MP images.
This is why you are exhausting the available memory.
Why is 2000 DPI important for you?
What do you do with the image afterwards?
It should not reduce the original resolution of the PDF once after converting to png
Strictly speaking PDF files have no “original” resolution, since it is a vector format, it can be any resolution you want. Only any images contained in the PDF have a resolution.
The DPI for a PDF is 72, but that is typically too low for an image DPI.
Please help me out here to solve the exception.
Decide on what resolution you do want, and use PDFDraw.SetImageSize instead of using DPI.