7f8ddd
7f8ddd
Windows Defender moment, and https://github.com/oven-sh/bun/pull/10037
I believe this was (and may still be) an issue that makes the debugger not work. It'll say the port is in use when it's not. There's an issue somewhere...
@Brooooooklyn If you could fix this, people would be very grateful. It's literally unusable unless you pre-generate images. There is 100% a leak and if you know where it is,...
https://github.com/Brooooooklyn/canvas/blob/f3a699bbb5a1fae69ebb8a02499ce6279624afe1/src/lib.rs#L259 Is the usage of noop here the cause?
> Does anyone actually catch a real-world oom? I'm wondering if the RSS is allocated memory, not the actually used memory. The issue is an actual memory leak, as Bun.gc(true)...
> Can you try this version to see if it has fixed your issue? https://github.com/Brooooooklyn/canvas/releases/tag/v0.1.48 ? **Edit: It's only leaking when you encode with png, webp was fixed. Not sure...
> @7te3ep I can't reproduce the leak with the code: > > ```js > import { createCanvas } from './index.js' > > async function test() { > const canvas =...
> > Does this still reproduce for you? > > I'll find exact same code that caused the issue and get back to you soon. Yes? No?
Sadly there is no way to slice a Bun.file (yet)
Try with `bunx --bun`? (Still shouldn't crash, ofc)