Chapter 16
Work safely with very large files
Pilcrow does not load a huge document into one giant string. It keeps the original file backed by storage and materializes a window around what you see. This is why multi-gigabyte files can open quickly.
For best results:
- Wait for line counting before relying on distant line navigation.
- Expect a brief refresh when jumping far from the current viewport.
- Save before whole-file transformations.
- Prefer folder search or targeted Find over selecting an entire enormous file.
- Remember that PDF creation uses a whole rendered page model and can require much more memory than editing or streamed HTML/Word export.
- Keep the source file available while it is open. External truncation or replacement can invalidate the mapped original.
The status bar may show background lexing or parsing. You can usually keep typing. If a feature asks you to save a document over a stated sharing or review limit, save rather than forcing a temporary in-memory copy.