The TikaDocumentReader component in Spring AI uses Apache Tika to extract text from documents but disables Tika's built-in content-size limit by default. This allows the extracted text to be buffered in memory without an absolute size limit. Although Apache Tika aborts parsing when the extracted text is disproportionate to the input size, this relative check does not prevent excessive memory allocation for large documents. Consequently, processing documents from untrusted sources can lead to excessive JVM heap usage and potential denial of service.