Other PDF Issues

How to Improve Performance in PDFs with Thousands of Comments

John WilsonJohn Wilson Nov 3, 2026 869 views

Question details

The user needs to improve the loading speed and responsiveness of large PDF files exported from AutoCAD that are bogged down by thousands of text comments.

How to Improve Performance in Large PDFs with Thousands of Comments
Product
PDF
Device & OS
not provided
Scenario
Working with a large AutoCAD-generated PDF containing over 8,000 interactive text comments that cause the document viewer to freeze or lag.
Observed behavior
The PDF becomes extremely slow and difficult to navigate or manage due to the massive volume of interactive comment objects generated during export.
Before you start

Before modifying or flattening your PDF file, ensure you create a secure backup copy because flattening permanently merges comments into the document background and cannot be undone.

Solution 1Recommended

Prevent AutoCAD from Exporting Text as PDF Comments

Resolve the issue at its source by changing AutoCAD export settings so that SHX text is not converted into thousands of PDF comments.

By default, AutoCAD may export SHX fonts as PDF comments to maintain text searchability. In complex drawings, this generates an excessive amount of interactive objects, crippling PDF performance.

1
Open AutoCAD Command Line

Launch AutoCAD and type 'EPDFSHX' directly into the command line interface.

2
Change the System Variable

Change the variable value from '1' to '0' to disable the creation of PDF comments from SHX text.

3
Adjust PDF Plot Options

Alternatively, when plotting or exporting to PDF, open the 'PDF Options' dialog box and uncheck the 'Include SHX text' option.

4
Re-export the PDF

Save and export your drawing to PDF again. The resulting file will be significantly smaller and much faster to load.

Prevent AutoCAD from Exporting Text as PDF Comments
Performance Boost: Disabling this setting entirely prevents the issue for all future AutoCAD PDF exports.
Fast and Efficient PDF Editor

Optimize and Manage Heavy PDFs Easily with WPS Office

WPS Office features a robust, lightweight PDF editor capable of handling complex documents without lagging. You can easily compress, merge, and flatten heavy PDFs in just a few clicks to optimize performance.

  1. 1. Open Your PDF in WPS Office: Launch WPS Office and open your slow or heavy PDF document.
  2. 2. Access the Optimization Tools: Navigate to the 'Tools' or 'Protect' tab on the top ribbon menu.
  3. 3. Flatten or Compress the File: Select 'Flatten' to merge all comments into the background, or use 'Compress' to reduce the overall file size.
  4. 4. Save the Optimized PDF: Click 'Save As' to create a fast, optimized copy of your document.
Handles large PDF files smoothly without high RAM usage or freezing.Fully compatible with standard Adobe PDF formats and complex annotations.Built-in flattening and compression tools to optimize file size and speed instantly.
microsoft office alternative - wps office

Frequently Asked Questions

Why do AutoCAD PDFs generate so many comments?

By default, AutoCAD exports SHX text fonts as PDF comments to ensure the text remains searchable within the PDF viewer. In complex architectural or engineering drawings, this can create thousands of individual comment objects, which significantly slows down PDF rendering.

Does flattening a PDF reduce its file size?

Yes, flattening a PDF integrates interactive elements like form fields, annotations, and text comments into the static background image. This streamlines the document's structure, reducing rendering time and frequently decreasing the overall file size.

Can I edit the text comments after they have been flattened?

No. Once a PDF is flattened, the comments become a permanent part of the document's graphical background. You will no longer be able to select, move, or edit them using standard PDF commenting tools.

Can I delete all comments instead of flattening them?

Yes, if the text inside the comments is not required for viewing the drawing, you can open the Comments pane in your PDF editor, select all comments, and delete them entirely. This will also fix the performance issue.