[BUG] Reading large files causes Claude Code to lock up

Resolved 💬 3 comments Opened Jan 10, 2026 by ryanrdetzel Closed Jan 14, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

This XML file is one large file, poor design, but because of this if Claude Code tries to read it it just locks up and I have to kill it. Is there some way it can identify this before doing a head or cat?

https://aeronav.faa.gov/d-tpp/2513/xml_data/d-TPP_Metafile.xml

What Should Happen?

It would warm me the file is too large to process

Error Messages/Logs

Steps to Reproduce

Download or point claude to this xml file: https://aeronav.faa.gov/d-tpp/2513/xml_data/d-TPP_Metafile.xml

Watch as it locks up and becomes unresponsive.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.3 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗