When you have to preview Large Pdf file (over 20mb) you can configure new machine workflow which will stream binary data directly to DocumentViewer portlet.
Fixes for the following problems:
NCRP-444 Document viewer portlet did not support large documents.