Shit course can learn everything for free. Check out gnome code instead if you are thinking about buying this.
@Brakoda-hu5wr5 ай бұрын
im blind how do i buy
@ike__5 ай бұрын
That’s not a “memory leak”. A memory leak happens when there are no pointers to a piece of memory. Since lua has a gc it doesn’t *generally* happen.
@morphious86.5 ай бұрын
exactly what the video is trying to explain is more akin to a space leak
@MrM0gus5 ай бұрын
eat your cereal
@Devthedev.5 ай бұрын
Agreed
@blossomcherrypink5 ай бұрын
Really? Electron told me I had an EventEmitter memory leak because I was subscribing a listener to an event on a React component re-render while failing to detect that it was already registered. Thus, I registered it 11+ times without cleanup and got that warning. Wouldn't there still be references simply due to the nature of them being registered somewhere? Also because JS has a GC as well?
@redstoneglenn58505 ай бұрын
Pretty sure he’s using the parts as an example to explain memory leaks. He could’ve highlighted that better but does mention it a bit “imagine this as memory”
@lukasjetu97765 ай бұрын
you mixed up the terms, i know what you mean by "memory leak" but the name isn't accurate, a memory leak is when there are no pointers to a place in memory, thus the program can't locate it, and the memory is unused, i'll set an example: it's like having a big house, where you put stuff everywhere, but when you don't need the stuff, you don't throw it out, you just forget about it, and after some time, eventually the stuff that you don't need piles up so much not even you can fit in the house, and the house is so full it breaks, now just think of the house as the program memory, and think of the stuff as variables
@NATANBX05 ай бұрын
You explain very well.
@Gix0_02 ай бұрын
@@NATANBX0I agree with this guy. It's most common when you have a function that instance a new part. But then you don't return that part and don't destroy it. Causing it to just be in the workspace forever since the script has lost access to it
@RedsquareR5 ай бұрын
pro tip: ALWAYS disconnect connections after use! (especially if you are creating a bunch of them)
@torsionabortion5 ай бұрын
convienent that i have a habit of doing that.
@RedsquareR5 ай бұрын
@@torsionabortion yeah, i forgot to when i was doing a round system and it duplicated my enemies after each round since i never disconnected a connection and it was hell because i didn't know that was why.
@ZenkaiDragon4005 ай бұрын
local connection connection = game.RunService.Heartbeat:Connect(function() print("EEEEE this will stop printing in 1 second bcuz when heartbeat event runs it will no longer be connnected to this function) end) task.wait(1) connection:Disconnect()
@timisafe8095 ай бұрын
I was hoping you'd cover the in-script memory leaks. It would be really useful if you made a part 2 or something where you talk about stuff like disconnecting events when not needed anymore.
@TheOfficialDorianelevator4 ай бұрын
i was aware of this problem ever since i started scripting, this explains why most stuff in my games do delete cloned stuff.
@coln.luminescent5 ай бұрын
Although this is not technically a memory leak, there is a way to prevent players from experiencing lag by using client-side visuals with a heartbeat mechanism. This approach helps prevent lag for other players, and the server will remain unaffected, resulting in no additional lag. WARNING: Do not use this method for all your scripting in your game, as it would be impractical. However, it is a significant way to conserve space and memory. Otherwise, this is a good explaining video! :D
@astreloxdev4 ай бұрын
pro tip: not deleting your parts and letting them flood workspace causes lag.
@CarlosGotAnimated5 ай бұрын
congrats on 31.5k subs bro. im only gonna edge to you 31.5k times every day (seriously tho congrats!!!)
@aquilyxus5 ай бұрын
i did the math, have fun edging every 3 seconds
@theenjoyer14455 ай бұрын
ByteBlox; casually uploading a video at midnight edition
@AzureSpike5 ай бұрын
ByteBlox casually uploading a video during day edition
@adhamsherif62305 ай бұрын
arcane odyssey:
@pleszq5 ай бұрын
pov: you open the inventory more than 2 times
@rrb1015675 ай бұрын
pov: you didnt die for a while and try to do a fighting style m1
@ZenkaiDragon4005 ай бұрын
LOL
@Sebastianpro4675 ай бұрын
I had a couple memory leaks in my game once and it was not fun. I fixed them but I had to rewrite scripts and It was time consuming for me!
@coln.luminescent5 ай бұрын
While understanding your disagreement, I propose that you create your game with your own libraries (modules that you can call and use for utilities): one for the client, one for the server, and one shared (e.g., particle system in the client, saving on the server, and networking in the shared library). Using this approach will increase your work efficiency and should not result in memory or space leaks (at least not significant leaks if you make mistakes).
@hell.yeah-5 ай бұрын
also i believe using debrisservice has the same effect as not deleting a part whenever i use it eventually the game'll lag just as if i never deleted the part, which is why i resort to custom debris functions
@Malke8645 ай бұрын
about your course is it subscription or one time purchase?
@diogomiguel63775 ай бұрын
For what i can see it's one time purchase, it states that it has "full acess for life" in udemy, but you can also just learn all of it on your own without paying :p
@byteblox1005 ай бұрын
One time, and I’ll also add more units to it from time to time
@HijackedFish5 ай бұрын
I dare you to turn a part into a working mirror.
@GPZ-MN5 ай бұрын
cant just make the reflection property to 1?
@imfunny23945 ай бұрын
@@GPZ-MN it just reflects the skybox
@Arch-mv5te5 ай бұрын
crusherfire has an explanation on how viewport frames work, and how you can use them to make a working mirror (assuming you have basic knowledge)
@1BP65 ай бұрын
Finally, I want to bring back old times too tbh bring back the working minors
@GPZ-MN5 ай бұрын
@@1BP6 WHAT THE FU-
@darkfllame5 ай бұрын
well, a memory leak cannot happens in a game engine such as roblox, because a memory leak is basically when a part of memory isn't referenced by the program, since lua is a garbage collected language, it just cannot happens, all you can do is run out of memory.
@darkfllame5 ай бұрын
although it can happen if roblox engine's devs are bad at cpp
@Wertyhappy275 ай бұрын
Roblox does have memory leaks, even Roblox's scripts have memory leaks lol, playerlist script my beloved
@joeswagson5 ай бұрын
memory leaks can happen in languages with gcs. for example, java
@when-the-hrandomstuff5 ай бұрын
old title: How One Memory Leak Can Kill Your Game
@BTM_notBTS5 ай бұрын
Its still the same title
@kovoneka5 ай бұрын
yo u prankster its the ame
@thismightbetwo5 ай бұрын
@@kovoneka its just in case it changes
@tappyVQ5 ай бұрын
@@thismightbetwodoes he change them.. yikes
@nikolas4786Ай бұрын
Use Maid to prevent memory leaks, destroying manually is really bad, also yall can use garbage system
@yeahhhhhhhhhhhhhhhhhhhhhhhhhh5 ай бұрын
Memory Leak? What's that? I only program in RUST 😎
@Sector3225 ай бұрын
when you use unsafe
@SFSPerseverance694205 ай бұрын
memory leaks can kill anything, not just your roblox game
@The_Owly2 ай бұрын
Hello,a exploiters can change all value in client ? Like health, boolvalue, invalue etc.. Because i try to make game and im scare for exploiters so a put all Data in server scrip service but its hard to remote information so i want to know if a dont lose the time make that
@SaleMales2 ай бұрын
Necessary parts like changing their stats or damaging them have to be on server All security checks have to be on server too Other unnecessary data can be on client (Like handling data to visualize data for client), they can change these for themselves but it wont change anything on server!
@The_Owly2 ай бұрын
@@SaleMales ok thanks dude
@SaleMales2 ай бұрын
@@The_Owly No problem Basically, all security checks and data changing are on server Other like showing data or creating effects on client
@windows10technicalpreview5 ай бұрын
make a video on the Clouds object yes thats a thing (they work if you put them into Terrain)
@potoe63935 ай бұрын
while true do end
@callummcclure21865 ай бұрын
Server: **Instantly dies**
@ExoticFoxy5 ай бұрын
Memory leak its when ur memory overheats and boils and leaks inside ur computer
@Player20XX5 ай бұрын
youre so skibidi
@gdmathguy5 ай бұрын
@@Player20XXyoure so fanum tax idk
@mattplays38245 ай бұрын
@@gdmathguyyou’re not sigma, start mewing boy 🤫🤫
@gdmathguy5 ай бұрын
@@mattplays3824 🤫🧏🗿
@OrginalTRreis5 ай бұрын
I'm 31.700 Subscriber of this channel.
@nilconstant5 ай бұрын
Can't you get flagged by hyperion if your game has a memory leak? I got banned in a banwave recently.
@iiangel_5 ай бұрын
Nope? I dont really get why would they
@HypersonicMissile775 ай бұрын
0:33 lol
@Basil_Nyth2 ай бұрын
StyLiS should be taking notes
@ayoo96313 ай бұрын
A wuthering waves story fr 🥲
@creeperplayzz5 ай бұрын
Day 52 of edging to your videos
@itzfurpleguyisstupid5 ай бұрын
💀
@Thatcringeanimator_5 ай бұрын
I’m already on day 366
@Honored_CapyBara5 ай бұрын
@@Thatcringeanimator_ skill issue, im already on day 1921
@Subtocoolygamey5 ай бұрын
me peeing caught in 4k
@Malke8645 ай бұрын
btw again do u think its possible to create cloud shaders and water shaders in roblox, this may sounds way too optimistic but something close to genshin impact waters and and clouds again again by any is mipmapping possible in roblox and uuuh about parallax mapping dang, i dun know how to say this but uuum i would like to know how parallax maps are created in roblox uk the illusion thingy making a 2D surface seem like it has depth and finally is it possible in roblox to see objects in a distance like genshin (i just want to know if all these are possible in roblox)
@todd-haword5 ай бұрын
I don’t believe Roblox’s implementation of Lua would allow for that. You would need to be able to access the renderer, which to my knowledge you cannot. Roblox would have to build these shaders into the engine, as they did with physically based textures. If you want a 3d effect on surfaces, you can use normal maps, which can be added to Meshparts, with SurfaceAppearance, and MaterialVariants. Other game engines provide much more freedom.
@truemori67005 ай бұрын
@@todd-haword time to code my own renderer 😈
@SFSPerseverance694205 ай бұрын
if only roblox had shaders and stuff like unity
@cottoncherry21775 ай бұрын
not sure what you mean by cloud shaders, but roblox already has a way to create clouds, it's called the Clouds object and you put it inside the Terrain object
@SFSPerseverance694205 ай бұрын
@@cottoncherry2177 they dont have shadows
@Ahmed.Esmail21695 ай бұрын
We need vehicles system tutorial pro like how to make cars and bikes cuz almost no one knows anything about that