export page layout

Discussion created by daremott on Apr 2, 2013
I'm using a function I've found here many times ago, and that served me well until now, to export PDF files out of ArcMap through an automated procedure using arcObject (I attach it here).
Suddenly this procedure is no more working, saying "file creation error" and then "cannot map metafile into memory, non enough memory". Same result with different format (TIFF, JPEG, PDF). It's a big image that is displayed on the map, but there would be no difference when you are going to print it with fixed scale and resolution .....
Any hint ?
David Remotti