GDPicture Clone - out of Memory - 2GB File

Discussions about PDF management.
Post Reply
Tarunwalia
Posts: 2
Joined: Mon Dec 28, 2015 10:06 pm

GDPicture Clone - out of Memory - 2GB File

Post by Tarunwalia » Mon Dec 28, 2015 10:16 pm

Hi,

I have a pdf file around 2GB which contains High Def Pictures and scanned Images. What I am doing is splitting the pdf into several smal pdfs based on what how many pages users enters in the textbox.

I'm trying to split the documents and save the new pdf and in between it gives error.

oGdPicturePDFDest = destination PDF File
oGdPicturePDFSrc = source PDF

Code: Select all

 Int32 pageIndex = splitValues.ElementAt(j).PageIndex;
 if (TotalPage > 1)
  {
      if (oGdPicturePDFDest.ClonePage(oGdPicturePDFSrc, pageIndex) != GdPictureStatus.OK)
         {
            statusSplit = false;
            System.Windows.Forms.MessageBox.Show("Cannot clone image: " + oGdPicturePDFDest.GetStat().ToString());
            return;
          }
  }

It work fine when the file size is around 500- 700mb

delbeke
Posts: 89
Joined: Wed Oct 31, 2012 5:07 pm

Re: GDPicture Clone - out of Memory - 2GB File

Post by delbeke » Tue Dec 29, 2015 12:19 pm

Hi Tarunwalia

Have you try to make a x64 exe ?
With this 2GB limit , it seem you are running a x32 program where the memory limit is 4GB.

Jean-Luc

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: GDPicture Clone - out of Memory - 2GB File

Post by Loïc » Tue Jan 05, 2016 2:55 pm

Hi,

If the problem persists, even in 32-bit mode, please open a ticket on our helpdesk by providing a link from which we can download the document. Here the link is: https://www.gdpicture.com/support/getting-support-from-our-team .

With best regards,

Loïc

Tarunwalia
Posts: 2
Joined: Mon Dec 28, 2015 10:06 pm

Re: GDPicture Clone - out of Memory - 2GB File

Post by Tarunwalia » Tue Jan 05, 2016 4:36 pm

It worked fine. When i converted the windows application to 64bit

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest