Large Documents
Learn about Notta's chunking technology and large document handling
β±οΈ 6 minutes
Notta uses physical chunking cache technology to handle large documents, easily managing files with tens of thousands of lines.
What is Chunking
When opening a document, the system splits the content by line count into multiple "chunks," each independently cached to disk.
How Chunking Works
Original document (10,000 lines) split by line count:
- Chunk 1 β Lines 1β200
- Chunk 2 β Lines 201β400
- Chunk 3 β Lines 401β600
- ...
- Chunk 50 β Lines 9801β10000
Chunk Parameters
| Parameter | Default | Description |
|---|---|---|
| Initial Chunk Threshold | 200 lines | Default lines per chunk when opening a file |
| Re-split Threshold | 300 lines | Auto-split when a chunk exceeds this during editing |
| Normal Merge Threshold | 50 lines | Attempt merge with adjacent chunk when below this |
| Force Merge Threshold | 10 lines | Force merge when below this |
Tip
Chunk parameters can be adjusted in Settings β Performance.
Paginated Browsing
Since the document is split into chunks, the editor displays one chunk at a time. The pagination control bar at the bottom provides navigation:
- PageUp / PageDown: Switch to previous/next page
- Scroll to boundary: Automatically switches to adjacent chunk when scrolling to the top or bottom
- Page indicator: Shows current page number and total pages
Re-chunking
During editing, if a chunk's content changes significantly (e.g., large paste or delete), the system automatically re-chunks:
- Auto-split: When chunk content exceeds 300 lines, it splits into two chunks
- Auto-merge: When chunk content falls below 50 lines, it attempts to merge with an adjacent chunk
- Empty chunk removal: Automatically cleans up empty chunks during editing
During re-chunking, the editor area shows a semi-transparent overlay with a "Re-chunking..." message, which disappears when complete.
Cache Management
Chunk caches are stored in the user data directory:
| Platform | Cache Path |
|---|---|
| Windows | %APPDATA%\Notta\.nota\chunks\ |
| macOS | ~/Library/Application Support/Notta/.nota/chunks/ |
| Linux | ~/.config/Notta/.nota/chunks/ |
- Max cache size: 1 GB
- Auto-cleanup: The system manages cache automatically
Next Steps
- Using the Editor β Learn about page navigation details
- Settings β Adjust chunking performance parameters