Tag

resource leak

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 20, 2024 · Backend Development

How to Fix Resource Leaks When Streaming Files in SpringBoot 3.2

This article explains why using a wrong Content‑Type header and not closing the InputStream when returning a Resource in SpringBoot 3.2 causes file‑handle leaks, and demonstrates three solutions—including try‑with‑resources, direct HttpServletResponse streaming, and custom Resource implementations—to safely download files even under high concurrency.

ResponseEntitySpringBootfile download
0 likes · 7 min read
How to Fix Resource Leaks When Streaming Files in SpringBoot 3.2
360 Quality & Efficiency
360 Quality & Efficiency
Jun 5, 2017 · Information Security

Comparative Evaluation of 360 Fireline and Facebook Infer Static Code Analysis Tools

This article compares Facebook's open‑source static analyzer Infer with 360's Fireline, focusing on resource‑leak detection for Android, presenting test methodology, detailed results across 30 leak scenarios, and highlighting Fireline's higher detection rate and lower false‑positive ratio.

AndroidFirelineSecurity
0 likes · 6 min read
Comparative Evaluation of 360 Fireline and Facebook Infer Static Code Analysis Tools