Identifying Rust’s collect::<Vec>() memory leak footgun

avatar

Stream of Goodies

Hacker News: Front Page's profile picture on Select App
HNF

Hacker News: Front Page

·2 years ago
shared a link post in group #Stream of Goodies
blog.polybdenum.com

Identifying Rust’s collect::<Vec>() memory leak footgun

Over the weekend, I was working on a personal Rust project when I ran into an excessive memory usage problem. After an evening of trial and error, I found a workaround to fix the memory usage, but I s

Comment here to discuss with all recipients or tap a user's profile image to discuss privately.

Embed post to a webpage :
<div data-postid="bxxzgpv" [...] </div>
Powered bySelect·iOS·Android
Privacy|Terms|