Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Windows 8.1, 10, WindowsPhone, Windows UWP
  • Page:
  • 1

TOPIC:

Out of memory error on Windows Phone 8.1 8 years 11 months ago #8961

  • Stowell
  • Stowell's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
When viewing a 4 page PDF and zooming in, my app suddenly dies with the message:
"WinRT information: Not enough storage is available to complete this operation."

Is there anything I can do so Radaee doesn't take up as much memory? I know the guide says to use ID_FUNCCAP_EXTEND_MEM but that was only valid for Windows Phone 8 and is ignored for Windows Phone 8.1

Please Log in or Create an account to join the conversation.

Out of memory error on Windows Phone 8.1 8 years 10 months ago #9012

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Are you experiencing the same issue on our demo project too?
Which sdk version are you using?
What max zoom value are you setting?
If possible, may you provide us one of your pdf files so we can do some direct check on it?

Please Log in or Create an account to join the conversation.

Out of memory error on Windows Phone 8.1 8 years 10 months ago #9022

  • Stowell
  • Stowell's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
I don't experience the same issue in the demo project, but my app takes up more ram then the demo project does. I'm using the PDFViewerSDK_WinPh8.1_1.8.8.zip files. I don't currently set a maxzoom in code. The crash happens when I zoom in as far as I can go and then zoom out rapidly then repeat multiple times.

The crash happens on basically any pdf file I try, including the file at www.pdf995.com/samples/pdf.pdf. The crash happens in PDFVBmpSet.cs, line 96 with the following statement:
bmp = new PDFBmp(w, h);

Please Log in or Create an account to join the conversation.

Last edit: by Stowell.

Out of memory error on Windows Phone 8.1 8 years 10 months ago #9032

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Have you introduced modification to our classes?
It's quite difficult to understand why you app is consuming so much memory without more information.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum