>memory leak after 3 hours>no big dealGame devs are not real
none of this is real. its all made up. fake. an illusion. everything. its aLL A FUCKING LIE!!!
Why specifically 3 or 4 hours? Shouldn't streamers be fine since their PCs should have lots of RAM?
>>736242684I looked him up and he's some nobody, the only person who has played his games are cat ladies. I proclaim that op made that tweet, and this is a subtle shill thread. Begone Matt!
>>736243243Who died and made (you) king of /v/?
>>736242684If you know your game has a memory leak, why wouldn't you just fix it?
>>736243131The thing about memory leaks is they keep leaking
>>736243319Kings are usually appointed via divine providence so this is a stupid question to ask
Hey as long as it works
How is memory leak even real.Why not just code something likeIf memoryleak = true FlushOr something like that
>>736243356Garbage cleanup is rarely just 1 issue to fix. Its more like a bunch of little holes to find, and theres not really a quick way to identify where they are accumulating from if you arent technical.
>>736243636You can't just flush a computer like a toilet anon.
>>736243648Nigga just free your mallocs
>>736243356Aren't all of his games made in flash?
>>736243757the whole problem stems from being unable to just instantly free all the shit without causing a problem
>>736243636>>736243648in my engine i just free the entire heap each time a new scene is loaded
>>736243319I did
>>736243960Rest in peace.
>>736242684some memory leaks can be very tricky to find
How do you fix a memory leak? Can't you just stuff some code where it's coming out of to block it?
>>736244104I typically just shove a sock in my ear when my memory leaks.
>>736244104Memory leaks work in reverse. They slowly fill up instead of emptying, so you have to crawl backwards through the memory sewage system to find the leak.
>>736244104only if you can find out where it's coming from
should've used rust
>>736242684>non-green greentexting
>2026>still not using rust
>>736242684Just allocate all free ram on startup and use that
>>736244614I think there's a space after the meme arrow, making it discord-text instead of greentext
>>736243319>Who died and made (you) king of /v/?King Aack An Hero
>>736244647Every non-trivial rust project is half unsafe code anyway.The answer is just not being stupid.
>>736243319We voted on it last night and that anon was determined to be the best poster on 4chan and possibly the internet.
>>736244597>>736244647Most gamedevs can barely shit together their C++/C# abominations. Why do you think that they are capable of grasping Rust properly?
>>736242684Just automatically have the game autosave and reset after 3 hours
>>736243916This is the way.
Just force a crash every 3 hours so you have to restart the gameEZ fix
>>736244104it depends on what engine/language he's using. he probably just has a ton of event listeners that never get unsubscribed.
>imagine not using flex tape
>>736242684why is he greentexting with the space after the arrow, I thought he was a le oldfag
>>736242684almost every large program will have a memory leak of some kindI honestly doubt you even know what a memory leak is
should have told the AI to make no mistakes and plug all memory leaks
>>736243131put a bucket under a leaky pipe and it's fine for awhile but after a few hours the water starts to overflow. you now know how a leak works.
>>736245223Neither do you, so don’t act like you do
>>736242684Just vibe code and fix it. Memory leaks are very easy to fix with AI.
>>736242684>Memory LeakPssst... use one of these. *wink*
>>736245446got one of these in my closet. with current RAM prices I'm probably a billionaire now.
>>736243960f
>>736242684it's a mindset thinghard to teach or correct
Here I coded a fix for you:new_thread({sleep(1000*60*60*3);alert("Your game will close in 15 minutes, please save and restart!");sleep(1000*60*15);alert("Your game will close in 1 minute, please save and restart NOW!!!!!");sleep(1000*60);game.quit();});
>>736246138that would be 16 minutes not 15 tho
>>736246138a real unreal engine 5 developer
>>736244706Inline quote formatting predates both discord and the very idea of imageboards.That started with email in the 70s.
>>736246138I'm pretty sure you would unironically get fewer complaints if you just randomly crashed the game (saving beforehand of course).Something likesleep 3 hours + random(1, 30) minutessave()exit()
>>736243648Pretty much every single garbage clear issue is the dev being a drooling retard and missing a decimal value.If any calculation does not go back to 0 you get a build up of shit in the ram as it can't clear unresolved values
>>736244647most rust users are brainlets that spam smart pointers and shit so that their memory is deallocated when its no longer referenced. its essentially garbage collection except garbage collection is usually deferred so its batched together instead of needing to free memory the moment the objects lifetime ends.the funny thing about garbage collection is that memory leaks are still possible, if you do retarded shit like hold onto memory from old objects in new ones (example an ever growing list)
>>736246138Just like windows!
>>736246461I hate that you're right.
>>736243636How can you tell what memory to keep and what to flush? You can force reload everything, sure, but that interrupts gameplay (some games do this, BotW for example).Programs already try to clear memory when it's not needed anymore. Memory leaks are when something goes wrong with that.
I was going to ask how the fuck they manage to make a game use up 8gb of ram but then I realized these are literally jeetkins coding with AI
>>736242684Of course it's not a big dealPlayers will refund his game before the 2 hour mark
>>736247297why?
>>736242684This is an issue that Voice of the Void has, after extended playtime without reloading the game starts to get unstable.As going longer than 3 hours without dying generally doesn't happen its not really an issue, but to counter it the dev put in special events that only happen if you go so many hours that cause the game to crash.You can avoid a couple of them if you try hard enough but IIRC the 12 hour one can't be dodged.
Why not just run a process to continually download ram to counteract the leak?
>>736242684Matt's really fucking dumb, but he'll get around to fixing it.I Really like EBF and his art and will probably get around to buying this after he fixes the leak
>>736244597rust considers memory leaks safe