XuqmGroup-Server/file-service/src/main
XuqmGroup 1ec7f2e35d fix(file-service): stream upload to disk to fix OOM on large files
file.getBytes() loaded the entire APK into JVM heap, causing
OutOfMemoryError on files >~50MB. Now streams to a temp file while
computing SHA-256 via DigestInputStream, then atomically moves to the
final path. Zero heap cost regardless of file size.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 16:31:15 +08:00
..
java/com/xuqm/file fix(file-service): stream upload to disk to fix OOM on large files 2026-05-18 16:31:15 +08:00
resources chore: 更新所有服务的 JWT 过期时间为永久有效(≈100年) 2026-05-01 22:22:37 +08:00