zclllyybb opened a new pull request, #62725: URL: https://github.com/apache/doris/pull/62725
before we often meet error like ``` [ERROR] Required array size too large -> [Help 1] [ERROR] java.lang.OutOfMemoryError: Required array size too large ``` when compile FE. This is because Maven loads all content that constitutes the signature into memory when checking whether it can reuse the cache. Since we incorrectly passed `DORIS_HOME`, any file within the project becomes part of the checksum for the cache. When loading into memory, large files (such as some core dumps or compressed packages) can easily lead to an OOM error. This is also why disabling the cache previously could avoid this issue. The problem has now been thoroughly fixed by removing the `DORIS_HOME` directory from the checksum cache. This does not affect the participation of `gensrc/` content in the cache identification, as they are explicitly declared through other means. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
