knight6236 commented on issue #10669:
URL: https://github.com/apache/seatunnel/issues/10669#issuecomment-4169699011

   > Hi [@zhangshenghang](https://github.com/zhangshenghang), the main benefit 
is more predictable resource
   > management: when cacheMode=false, classloaders are closed immediately,
   > which reduces idle memory and prevents stale file handles. In production
   > tests, this avoids lingering JAR connections and potential classloader
   > leaks, while remaining fully backward compatible when caching is enabled.
   > Phase 1 mainly stabilizes lifecycle handling without affecting existing
   > jobs.
   > 嗨 [@张胜航](https://github.com/zhangshenghang),主要优势在于更可预测的资源管理:当 
cacheMode=false 时,类加载器会立即关闭,这能减少空闲内存占用并避免过时的文件句柄。在生产测试中,这避免了残留的 JAR 
连接和潜在的类加载器泄漏,同时在启用缓存时也能保持完全的向后兼容性。第一阶段主要是稳定生命周期处理,不会影响现有任务。
   > [… …](#)
   
   Thanks @julianbradford19-png  for the spot-on explanation — that’s exactly 
the core value of Phase 1.
   @zhangshenghang  does that answer your question? If you'd like to go deeper 
into any phase (runtime addURL cleanup, TCCL handling, etc.), happy to discuss 
further.


-- 
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]

Reply via email to