#Memory leak?

4 messages · Page 1 of 1 (latest)

ocean hatch
#

The following program will continue to use up more memory until it eventually crashes:

use macroquad::prelude::*;

#[macroquad::main("Texture test")]
async fn main() {
    let texture_size: u32= 64 * 16;
    loop {
        let render_target = render_target(texture_size, texture_size);
        next_frame().await;
    }
}

Am I doing something wrong here, or is there a bug in Macroquad causing a memory leak that I should report?

dense moss
#

It probably shouldnt OOM, but there're often problems like that in lower level vulkan/os libs

ocean hatch