• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pitch black page...
#7
After working on this for quite some time today, I think I've finally located the problem that can cause pages to stop being rendered. It happens most often in a setlist with a lot of songs using different PDFs (especially short songs with only 1-2 pages each). The high quality render limits the number of opened PDFs to six at the moment to stop the memory usage from getting too high (and it still can easily get over 300MB with a lot of PDFs with high DPI images), but this can cause some fighting over which songs get to have their PDF open for rendering purposes. There were some race conditions that could cause a song's PDF to be opened and closed in a fashion that messed up some of the code. I just put in some proper synchronization and everything is running smoothly now.

As a side note, I'm lowering the number of cached pages from 12 (current page + 7 forward and 4 back) to 9 (current page + 5 forward and 3 back) to lower the memory usage in the app. It can get dangerously high at the moment which is probably why I'm seeing a number of tablets with errors being thrown due to running out of memory.

Mike
Reply


Messages In This Thread
Pitch black page... - by Steinway - 02-17-2016, 06:41 AM
RE: Pitch black page... - by Skip - 02-17-2016, 08:39 AM
RE: Pitch black page... - by Steinway - 02-17-2016, 05:44 PM
RE: Pitch black page... - by Zubersoft - 02-18-2016, 03:51 PM
RE: Pitch black page... - by Steinway - 03-07-2016, 10:32 AM
RE: Pitch black page... - by Zubersoft - 03-07-2016, 10:58 AM
RE: Pitch black page... - by Zubersoft - 03-07-2016, 02:45 PM
RE: Pitch black page... - by Steinway - 03-07-2016, 06:21 PM
RE: Pitch black page... - by Steinway - 03-07-2016, 09:40 PM
RE: Pitch black page... - by Zubersoft - 03-07-2016, 10:28 PM
RE: Pitch black page... - by Steinway - 03-07-2016, 10:57 PM
RE: Pitch black page... - by Steinway - 03-25-2016, 08:22 PM
RE: Pitch black page... - by Zubersoft - 03-26-2016, 03:11 AM
RE: Pitch black page... - by Steinway - 03-26-2016, 05:46 AM
RE: Pitch black page... - by Zubersoft - 03-26-2016, 08:06 AM
RE: Pitch black page... - by Steinway - 03-26-2016, 08:37 AM
RE: Pitch black page... - by Zubersoft - 03-26-2016, 10:47 AM
RE: Pitch black page... - by Steinway - 03-28-2016, 06:44 AM
RE: Pitch black page... - by GraemeJ - 03-28-2016, 07:16 AM
RE: Pitch black page... - by Zubersoft - 03-28-2016, 08:19 AM
RE: Pitch black page... - by GraemeJ - 03-28-2016, 11:21 AM
RE: Pitch black page... - by Skip - 03-28-2016, 08:35 AM
RE: Pitch black page... - by Zubersoft - 03-28-2016, 08:40 AM
RE: Pitch black page... - by Zubersoft - 03-28-2016, 04:15 PM
RE: Pitch black page... - by Steinway - 03-28-2016, 05:57 PM
RE: Pitch black page... - by Steinway - 03-28-2016, 06:20 PM
RE: Pitch black page... - by Ketil - 03-28-2016, 07:06 PM
RE: Pitch black page... - by Zubersoft - 03-29-2016, 02:42 AM
RE: Pitch black page... - by Steinway - 03-29-2016, 07:09 AM
RE: Pitch black page... - by Steinway - 04-04-2016, 07:03 AM
RE: Pitch black page... - by frllop - 04-04-2016, 05:08 PM
RE: Pitch black page... - by Steinway - 04-04-2016, 06:52 PM
RE: Pitch black page... - by Zubersoft - 04-05-2016, 12:02 AM
RE: Pitch black page... - by Skip - 04-05-2016, 08:29 AM
RE: Pitch black page... - by Steinway - 04-05-2016, 04:53 PM
RE: Pitch black page... - by Steinway - 04-06-2016, 09:16 AM
RE: Pitch black page... - by Zubersoft - 04-06-2016, 01:31 PM
RE: Pitch black page... - by Steinway - 04-06-2016, 06:33 PM
RE: Pitch black page... - by Zubersoft - 04-07-2016, 12:38 AM
RE: Pitch black page... - by frllop - 04-07-2016, 04:29 AM
RE: Pitch black page... - by Zubersoft - 04-17-2016, 03:14 AM
RE: Pitch black page... - by Steinway - 04-17-2016, 08:17 AM
RE: Pitch black page... - by Zubersoft - 04-17-2016, 03:12 PM
RE: Pitch black page... - by Steinway - 04-17-2016, 04:35 PM
RE: Pitch black page... - by frllop - 04-18-2016, 06:27 AM
RE: Pitch black page... - by Steinway - 04-19-2016, 07:34 AM
RE: Pitch black page... - by Zubersoft - 04-19-2016, 03:00 PM
RE: Pitch black page... - by Steinway - 04-19-2016, 03:32 PM
RE: Pitch black page... - by Zubersoft - 04-20-2016, 03:42 PM
RE: Pitch black page... - by Steinway - 04-27-2016, 06:11 PM
RE: Pitch black page... - by Skip - 04-28-2016, 01:55 AM
RE: Pitch black page... - by Zubersoft - 04-28-2016, 04:23 AM
RE: Pitch black page... - by Steinway - 04-28-2016, 04:41 AM
RE: Pitch black page... - by Skip - 04-28-2016, 06:09 AM
RE: Pitch black page... - by Steinway - 05-06-2016, 06:06 AM
RE: Pitch black page... - by Steinway - 05-06-2016, 06:33 AM
RE: Pitch black page... - by Ketil - 05-06-2016, 07:48 AM
RE: Pitch black page... - by Steinway - 05-06-2016, 08:06 AM
RE: Pitch black page... - by Steinway - 05-06-2016, 08:34 AM
RE: Pitch black page... - by Zubersoft - 05-06-2016, 03:28 PM
RE: Pitch black page... - by Steinway - 05-06-2016, 04:03 PM
RE: Pitch black page... - by Zubersoft - 05-06-2016, 04:10 PM
RE: Pitch black page... - by Steinway - 05-06-2016, 04:28 PM
RE: Pitch black page... - by Ketil - 05-06-2016, 05:56 PM
RE: Pitch black page... - by Steinway - 05-10-2016, 08:12 AM
RE: Pitch black page... - by Zubersoft - 05-10-2016, 02:15 PM
RE: Pitch black page... - by Ketil - 05-10-2016, 08:03 PM
RE: Pitch black page... - by Steinway - 05-15-2016, 03:45 AM
RE: Pitch black page... - by Steinway - 05-18-2016, 07:40 AM
RE: Pitch black page... - by Zubersoft - 05-18-2016, 11:14 AM
RE: Pitch black page... - by Skip - 05-18-2016, 12:37 PM
RE: Pitch black page... - by Zubersoft - 05-18-2016, 03:32 PM
RE: Pitch black page... - by BRX - 05-19-2016, 09:09 PM
RE: Pitch black page... - by Steinway - 05-27-2016, 09:25 AM
RE: Pitch black page... - by sciurius - 05-27-2016, 05:35 PM
RE: Pitch black page... - by BRX - 05-27-2016, 09:06 PM
RE: Pitch black page... - by Zubersoft - 05-28-2016, 08:28 AM
RE: Pitch black page... - by Steinway - 05-29-2016, 05:11 AM
RE: Pitch black page... - by Skip - 05-29-2016, 11:12 AM
RE: Pitch black page... - by timrprobocom - 06-02-2016, 04:52 AM
RE: Pitch black page... - by Zubersoft - 06-02-2016, 07:49 AM
RE: Pitch black page... - by Steinway - 06-02-2016, 02:35 PM
RE: Pitch black page... - by Steinway - 06-02-2016, 03:11 PM
RE: Pitch black page... - by Skip - 06-02-2016, 11:14 PM
RE: Pitch black page... - by Steinway - 06-03-2016, 10:49 PM
RE: Pitch black page... - by Steinway - 06-04-2016, 06:57 AM
RE: Pitch black page... - by Zubersoft - 06-04-2016, 09:45 AM
RE: Pitch black page... - by Steinway - 06-04-2016, 10:14 AM
RE: Pitch black page... - by Zubersoft - 06-04-2016, 10:16 AM
RE: Pitch black page... - by Steinway - 06-04-2016, 10:41 AM
RE: Pitch black page... - by Zubersoft - 06-04-2016, 01:47 PM
RE: Pitch black page... - by Steinway - 06-04-2016, 02:42 PM
RE: Pitch black page... - by Steinway - 06-04-2016, 02:44 PM
RE: Pitch black page... - by Zubersoft - 06-04-2016, 05:02 PM
RE: Pitch black page... - by Steinway - 06-04-2016, 05:43 PM
RE: Pitch black page... - by Zubersoft - 06-06-2016, 03:48 AM
RE: Pitch black page... - by Steinway - 06-06-2016, 05:01 AM
RE: Pitch black page... - by Steinway - 06-10-2016, 07:21 AM
RE: Pitch black page... - by Zubersoft - 06-11-2016, 03:08 AM
RE: Pitch black page... - by Steinway - 06-11-2016, 07:04 AM
RE: Pitch black page... - by Skip - 06-17-2016, 07:19 AM
RE: Pitch black page... - by Zubersoft - 06-17-2016, 04:52 PM
RE: Pitch black page... - by Steinway - 06-17-2016, 07:33 PM
RE: Pitch black page... - by Skip - 06-17-2016, 11:09 PM
RE: Pitch black page... - by Steinway - 07-21-2016, 08:19 AM
RE: Pitch black page... - by Zubersoft - 07-22-2016, 03:22 AM
RE: Pitch black page... - by alanmcorcoran - 07-25-2016, 02:01 AM
RE: Pitch black page... - by timrprobocom - 01-08-2017, 08:44 AM
RE: Pitch black page... - by Zubersoft - 01-08-2017, 06:12 PM
RE: Pitch black page... - by Steinway - 01-09-2017, 05:33 AM
RE: Pitch black page... - by Zubersoft - 01-09-2017, 10:12 AM
RE: Pitch black page... - by Steinway - 01-10-2017, 01:32 AM
RE: Pitch black page... - by timrprobocom - 03-14-2017, 02:28 PM
RE: Pitch black page... - by Zubersoft - 03-14-2017, 05:17 PM
RE: Pitch black page... - by alanmcorcoran - 06-15-2017, 04:02 AM
RE: Pitch black page... - by Steinway - 09-11-2017, 08:43 AM



Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.