The new library is slow and crashes very often on ipad1

Stanley Chien's Avatar

Stanley Chien

27 Apr, 2012 09:57 AM

Hi,

We used the new fastpdfkit library on the dev branch in order to make ipad 3 render clear pdf pages. However, after upgrading to the new library in the dev branch, it becomes very slow. It freezes very often on ipad2, and crashes a lot on ipad1 due to memory warning. Although it could render clear pdf pages on ipad 3, the performance is much worse than the last release. Could you help fix this problem? Thanks a lot.

  1. Support Staff 1 Posted by Matteo on 27 Apr, 2012 10:07 AM

    Matteo's Avatar

    Hello Stanley,
    we are finalizing the brand new FastPdfKit 4.0 version.
    It will be published as soon as we test it on our devices.

    Matteo

  2. 2 Posted by Stanley Chien on 27 Apr, 2012 10:20 AM

    Stanley Chien's Avatar

    I see. Could you let us know approximately when the new release will be out so that we could arrange our schedule for our next release. Thank you very much.

    Stanley

  3. Support Staff 3 Posted by Matteo on 27 Apr, 2012 10:31 AM

    Matteo's Avatar

    Probably it will be published today on the devel branch.

  4. Support Staff 4 Posted by Matteo on 27 Apr, 2012 03:50 PM

    Matteo's Avatar

    You can grab it from the test branch on github.

    Please test it and give your feedback...

    Matteo

  5. 5 Posted by Stanley Chien on 27 Apr, 2012 07:44 PM

    Stanley Chien's Avatar

    Hi, Matteo,

    Thanks, we have tried the test version and it's still slow and crashing..

    We got "missing or invalid `MediaBox'" messages on several of our magazines and that wasn't a problem in previous releases. Here is an example -

    https://s3.amazonaws.com/kono-test-stuff/201204/EveryoneHealth20120...

    Can you please take a look at it and let me know..

    Thanks,

    Stanley

  6. 6 Posted by Nicolò on 02 May, 2012 02:35 PM

    Nicolò's Avatar

    Hello Stanley

    We are investigating the crashes.

    About the slowness: can you try saving the document with Adobe Acrobat as 'optimized...' then 'mobile use'? It should produce a 8 MB files (instead of 25) with the default settings.
    If you can play a bit with the settings, you could also try flattening the transparencies ad reduce the resolution of some of the images.

    The pdf itself is rather heavy and its navigation isn't the smoothest even on my i7 iMac w/12 GB of memory.

  7. 7 Posted by Stanley Chien on 02 May, 2012 10:15 PM

    Stanley Chien's Avatar

    Hi, Nicolo,

    Thanks for the reply. We used the same file on previous fastpdf and did not see the crash and the old build was actually faster on ipad1,2,3 without the "missing or invalid media box" message.

    We have tried to do optimizations using acrobat x pro. In fact, we also extract out all the background (everything except text) and made the background as one single image to reduce the complexity. We also did pdf optimization.

    Please keep us updated on the investigation. This issue is blocking us releasing support for ipad3 for our app cuz it made ipad3 slower and ipad1 crashing.. The previous fastpdf build we are using is having blur text on ipad3.

    Thanks

    Stanley

  8. 8 Posted by Stanley Chien on 07 May, 2012 07:49 AM

    Stanley Chien's Avatar

    Hi, Nicolo,

    Is there any update on this especially on the "missing or invalid media box" issue? We are pressed to release ipad3 support and we don't want to compromise ipad1,2,3 performance to support the HD display..

    Thanks

    Stanley

  9. 9 Posted by Stanley Chien on 09 May, 2012 03:09 AM

    Stanley Chien's Avatar

    On ipad 1 it is also very easy to crash when zooming in due to memory warning. Could you also take a look for this? We made the maximum zooming scale to be 1.5 for iPad 1, but it still crashes often.

  10. Matteo closed this discussion on 31 Jan, 2013 05:12 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac