Maximum open Documents? 150? - RadaeePDF.com - Results from #6
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: Maximum open Documents? 150?

Maximum open Documents? 150? 4 years 11 months ago #7473

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 886
  • Karma: 43
  • Thank you received: 16
Document.close not free all resources, if Document opened from PDFStream.
there is PDFFileStream.Close() need to invoke after Document.Close().
otherwise file occupied.
and there is another choice:
u can use PDFMemStream instead. int this way, document saved in byte array.

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

Last edit: by .

Maximum open Documents? 150? 4 years 10 months ago #7485

  • apait
  • apait's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 46
  • Karma: 1
  • Thank you received: 0
okay, i could try pdfmemstream for opening pdfs.

but what about my example-code and loading bitmaps into documents? how can i avoid the EMFILE-Exception there?

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

Maximum open Documents? 150? 4 years 4 months ago #8855

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 584
  • Karma: 6
  • Thank you received: 48
Sorry for late reply.
To avoid the issue try looking at this demo project

About file limit: remember you're handling low resource devices.

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum