For a little explanation, Minecraft need to be loaded and the location of were the game is loaded is called the RAM So as long as you don’t need to load anything new, you can still play the game fine since it is loaded on the RAM But when you need to load new things, Windows can’t reach the original location of the game, the game freaks out and crashes
What if everything was loaded? with a mod? and then removing the drive. and having a really fast ram partion. So you could generate and load stuff really quickly but at the usage of a lot of ram.
For people who don't know technology and stuff, here is a explanation for why the program stayed on when it was unplugged and crashed. When heavy usage programs are in use, developers usually put the things they need to run in folders not in the EXE file and developers program the exe file to load what is stored in the files and unload things they didn't need. This process is used so less RAM is used. When he unplugged it, the EXE file already had the resources it needed so there was no need for the files. When he moved the exe attempted to reach the files (to try and load the chunks) but they were gone so the EXE panicked , causing a crash.
@@ferrarisrex2233 But there was no mention of a USB having a processor, just the EXE (or more accurately JAR) reading data from the USB. Nothing here is inaccurate unless I'm missing something
Quick correction. The Minecraft JVM, which is in a different location, is an EXE (Windows Executable). However, Minecraft: Java Edition itself is actually a JAR (Java Executable) file. Same principles still apply, but you just got the file type wrong.
I had no hopes of finding this when I looked it up out of curiosity. Thank you. These types of videos should be more popular. Though I was hoping you would unplug the USB with the game installed in it.
@@ElementX and that explains why when you take out the usb the game suddenly runs faster it's because it goes from the usb storage that is laggy to the ram storage that is faster
i believe what happened at the end was that the regions (i think they are like 64x64 chunks) were probably still loaded in RAM and when it tried to access the next region, it couldnt even find the folder they should be stored in to check if it existed yet
"The world is so laggy" Me playing at 512x400ish resolution at 120 ms of tick lag and 20 fps: This is going so good Edit: This turned into a comment section of people fleximg their pcs or telling me to get a new pc, amazing.
What happens when you disconnect the USB partition is that you can continue playing because the game is stored in ram for a few moments but since ram is a temporary memory after it closes
1:23 That is actually because Minecraft and many other games copy files to the RAM (sticks of data that can read and right really fast in your computer) and then loads it from the RAM.
The chunk you spawn in when you first make a world doesn't un-generate which technically means that if you stay in there it won't crash, that is my theory
It's slow on that USB drive because the HDD is slow and the crash is delayed because Java I/O libraries are using timeouts and waiting up to a few seconds for the drive to be readable/plugged in.
I’ve run an entire instance of Minecraft over my university’s network and it’s run pretty well before until the network inevitably glitched every couple hours.
It ran for some time after you removed the usb id because when you running it it is moved to ram while running so only it ran for some time until it notices the file is not there anymore
The generated chunks seem to have to be saved to storage before generating new ones. Your USB is really slow so it takes time. But when you remove it, Minecraft cannot save the chunks and instantly gives up, not saving them. This is faster than actually saving them to an USB drive.
for minecraft to run the spu copys of the game files neded for the game to run are placed on the ram sticks so if your game doesnt require anithing else than whats on the ram sticks youre fine also saving worlds and stuff will probably not work as the folders with the worlds is not acessable
Dude, the loader FIRST reads the executable and loads the code within into the volatile memory (random-access memory, or RAM for short). And only THEN does the game start! Removing the game's image should not have ANY effect on your "Minecraft" (it was loading slowly, probably because it consulted something on the USB, and the moment you removed it it stopped consulting, thus not exchanging with it via a rather slow link)! But reading/writing savefiles is a completely different story...
THANK you, someone with a correct explanation. His mention that the "game was running off the USB" is ridiculous--this cannot be the case, as the USB drive only has a memory controller, which performs almost none of the same functions that a modern CPU would--not to mention the fact that this memory controller has very limited I/O with the PC. The slow generation was likely due to the fact that it was generating the chunks on his PC, then saving the chunks onto the USB, and THEN displaying them to the user. This ordering is necessary to prevent blocks from being placed in unloaded or nonexistent chunks, as otherwise, you could build in chunks before they are properly generated (this data would be overwritten anyways and the change effectively nullified, but it's better UX to not even give the user the option to build to begin with). Unplugging the drive likely caused the game to skip the save check, as that part of the code (probably) threw some kind of error, which was handled silently in the background. This skips over the saving process, and allows the game to jump straight to rendering the chunks, hence why they loaded so quickly. Of course, this is all theoretical.
@@oshotz It's not ridiculous at all to say that the game is running entirely off of the USB. Nobody hears "it's running off of the USB drive" and thinks that the USB drive is handling the RAM, graphics, CPU, etc. We say the same thing about running Ubuntu from a USB drive without actually installing it on the computer's SSD/HDD. It just means that all the files for the operating system are located on the USB stick, as Element X did with Minecraft.
@@AWSMcube Within the given context, it was implied that the game was running off of the USB--he said it as though the game became faster after the drive was ejected because it had switched from "running" off the USB to running off his PC; this probably just came down to inaccurate wording, as you mentioned, but people with less computer expertise might not know better, and make the assumption that a USB drive can, in fact, run programs and games. I don't blame Element for this; after all, these videos are (mostly) purely for entertainment :)
2:36 this isn't only HAPPENING in minecraft I've tried this experiment in my ps2 When I was play God of war(idk if you know this game) I tried to remove the USB but nothing happened when I tried save the game it crashed
it actually did load fast, you can see the sand blocks on the bottom on the screen are the same the reason it loads fast is cus MC is already loaded in RAM, so it can still run if it doesn't need to load in anything there are tons of comments explaining it
I remember getting a virus that deleted the entire windows system folder while i was playing minecraft. Like the system32 folder was just gone. I still have no idea how that worked. Possible idea for a new video?
bassically, the game says: "oh, the files just changed and this side is way stronger!" 5 seconds later: "wait oh shit wrong place. WAIT WHY AM I TEXTING AND DRIVING car bumps into tree" thats why it crashed.
I have a windows 7 (It is updated to windows 10) and it is 64 bit and I can Run minecraft 1.0-1.16.5 and It lags soo much and I hate it and I run with optifine and some stuff (Settings) to make minecraft run faster and faster and faster and I want my windows 7 (windows 10) pc to run faster and faster and faster and I really want to make it faster and faster and faster. How can I make my pc faster and faster and faster?
Yes those r my hands
Your channel is still alive :)
Yes totally not dead ;)))
lol
Your channel is totally not dead
@@scratchharry This channel is still alive. The other ones dead
For a little explanation, Minecraft need to be loaded and the location of were the game is loaded is called the RAM
So as long as you don’t need to load anything new, you can still play the game fine since it is loaded on the RAM
But when you need to load new things, Windows can’t reach the original location of the game, the game freaks out and crashes
Thanks for the explanation. That's what I was thinking too
I had figured this was the case
What if everything was loaded? with a mod? and then removing the drive. and having a really fast ram partion. So you could generate and load stuff really quickly but at the usage of a lot of ram.
Should be done on a older version for less ram usage.
pretty sure its the JVM that freaks out, not the OS
Imagine if a single hand reveal could make your channel 10× better.
Edit: there was yet another typo, also thanks for the likes :)
🤔
Better?
Interesting
hmm
Maybe…
Body parts reveal = 50× subscribe booster
Nice desk top and background and I love cars like this its just so cool!
For people who don't know technology and stuff, here is a explanation for why the program stayed on when it was unplugged and crashed.
When heavy usage programs are in use, developers usually put the things they need to run in folders not in the EXE file and developers program the exe file to load what is stored in the files and unload things they didn't need. This process is used so less RAM is used.
When he unplugged it, the EXE file already had the resources it needed so there was no need for the files. When he moved the exe attempted to reach the files (to try and load the chunks) but they were gone so the EXE panicked , causing a crash.
This is incorrect, a USB drive is only a storage device, and does not have a processor
@@ferrarisrex2233 But there was no mention of a USB having a processor, just the EXE (or more accurately JAR) reading data from the USB. Nothing here is inaccurate unless I'm missing something
@@MikolajMNK19 had to delete because I oofed up
@@MikolajMNK19 it was deleted
Quick correction. The Minecraft JVM, which is in a different location, is an EXE (Windows Executable). However, Minecraft: Java Edition itself is actually a JAR (Java Executable) file. Same principles still apply, but you just got the file type wrong.
0:41 wtf laggy that's like heaven for me
I had no hopes of finding this when I looked it up out of curiosity. Thank you. These types of videos should be more popular. Though I was hoping you would unplug the USB with the game installed in it.
the reason the lag is because since the world runs on usb drive and maybe the read/write data is low so it makes the game and chunk load laggy
1:31 i have never seen a minecraft message like this
3:20 i think minecraft is coded in the way that you will not take void damage in ungenerated chunks
I think the game could be stored on ur RAM so when u take it out it stays for a bit
Correct
@@ElementX and that explains why when you take out the usb the game suddenly runs faster it's because it goes from the usb storage that is laggy to the ram storage that is faster
@@Masero11 🗿
@@Masero11 🗿
@@Masero11 RAM isn't storage
i believe what happened at the end was that the regions (i think they are like 64x64 chunks) were probably still loaded in RAM and when it tried to access the next region, it couldnt even find the folder they should be stored in to check if it existed yet
While playing, your world is saved in your RAM, and when it wants to autosave it crashes
3:03 aternos servers' world generation be like
I used to have a crappy laptop as a kid and this is what it was like playing minecraft on it except at 2fps.
"So Extremly Slow" ElementX 2022
"The world is so laggy"
Me playing at 512x400ish resolution at 120 ms of tick lag and 20 fps: This is going so good
Edit: This turned into a comment section of people fleximg their pcs or telling me to get a new pc, amazing.
you have such good fps :(
man at least it loaded for you
Me playing at same as you but 0.8fps:
what kinda computer is that 💀
@@navybIue 1.1ghz celeron 4 gb ram celeron laptop
What happens when you disconnect the USB partition is that you can continue playing because the game is stored in ram for a few moments but since ram is a temporary memory after it closes
I remember when element x had 500 subs man grew alot in subs iver the years
1:23 That is actually because Minecraft and many other games copy files to the RAM (sticks of data that can read and right really fast in your computer) and then loads it from the RAM.
Hello element x i love your videos so much i am watching videos everyday for this minecraft content❤❤❤❤
Thank you for the support Logic TV
@@ElementX you're welcome
The chunk you spawn in when you first make a world doesn't un-generate which technically means that if you stay in there it won't crash, that is my theory
You’re getting popular! 🤗
It's slow on that USB drive because the HDD is slow and the crash is delayed because Java I/O libraries are using timeouts and waiting up to a few seconds for the drive to be readable/plugged in.
exactly what I expected, the game still ran as it was running on ram
*Removes USB drive*
"This is currently running in another place." - hologram
*Cancels USB drive being taken out*
I’ve run an entire instance of Minecraft over my university’s network and it’s run pretty well before until the network inevitably glitched every couple hours.
It ran for some time after you removed the usb id because when you running it it is moved to ram while running so only it ran for some time until it notices the file is not there anymore
Hand reveal from ElementX.
1:02 i thought he was gonna build a you know what
Wake up baby, cartridge tilting 2.0 just dropped
3:00 it's like that 3d shareware April fools version
Hi i love your videos and the way you talk :)
Thanks Mc glitch master
@@ElementX hey element x I wanted to talk to someone can i talk to you right now?
Next video: can I play Minecraft, after deleting system32?
The generated chunks seem to have to be saved to storage before generating new ones. Your USB is really slow so it takes time. But when you remove it, Minecraft cannot save the chunks and instantly gives up, not saving them. This is faster than actually saving them to an USB drive.
What would happen if you fill usb up and let there just few mb to create world
Now try to beat the game on hardcore like this.
This remembered me my rlcraft gameplay
The lag reminds be of when I was on windows xp playing 1.16.5
for minecraft to run the spu copys of the game files neded for the game to run are placed on the ram sticks
so if your game doesnt require anithing else than whats on the ram sticks
youre fine
also saving worlds and stuff will probably not work as the folders with the worlds is not acessable
Dude, the loader FIRST reads the executable and loads the code within into the volatile memory (random-access memory, or RAM for short). And only THEN does the game start! Removing the game's image should not have ANY effect on your "Minecraft" (it was loading slowly, probably because it consulted something on the USB, and the moment you removed it it stopped consulting, thus not exchanging with it via a rather slow link)!
But reading/writing savefiles is a completely different story...
THANK you, someone with a correct explanation.
His mention that the "game was running off the USB" is ridiculous--this cannot be the case, as the USB drive only has a memory controller, which performs almost none of the same functions that a modern CPU would--not to mention the fact that this memory controller has very limited I/O with the PC.
The slow generation was likely due to the fact that it was generating the chunks on his PC, then saving the chunks onto the USB, and THEN displaying them to the user. This ordering is necessary to prevent blocks from being placed in unloaded or nonexistent chunks, as otherwise, you could build in chunks before they are properly generated (this data would be overwritten anyways and the change effectively nullified, but it's better UX to not even give the user the option to build to begin with).
Unplugging the drive likely caused the game to skip the save check, as that part of the code (probably) threw some kind of error, which was handled silently in the background. This skips over the saving process, and allows the game to jump straight to rendering the chunks, hence why they loaded so quickly.
Of course, this is all theoretical.
@@oshotz It's not ridiculous at all to say that the game is running entirely off of the USB. Nobody hears "it's running off of the USB drive" and thinks that the USB drive is handling the RAM, graphics, CPU, etc. We say the same thing about running Ubuntu from a USB drive without actually installing it on the computer's SSD/HDD. It just means that all the files for the operating system are located on the USB stick, as Element X did with Minecraft.
@@AWSMcube Within the given context, it was implied that the game was running off of the USB--he said it as though the game became faster after the drive was ejected because it had switched from "running" off the USB to running off his PC; this probably just came down to inaccurate wording, as you mentioned, but people with less computer expertise might not know better, and make the assumption that a USB drive can, in fact, run programs and games.
I don't blame Element for this; after all, these videos are (mostly) purely for entertainment :)
@@oshotz Ah that's true, I'm used to talking about tech in computer spaces instead of Minecraft spaces like these
How are you getting minecraft to load chunks so fast?!?!?!?! You must have a hella good pc (or usb)
Damn I saw this channel while it has 70k subs. Its very surprising how it grew up
Subbed since 2020 didn't you
@@ElementX yesss
@@ElementX or 2021 but still
@@ElementX the first video I watched was that player spawn egg and how to summon it
It was so laggy with the drive plugged in because usb thumb drives have low read/write speeds.
Prob doesnt show anything while the flash is in bc it had to save the world generation but ran fast when it stopped saving
I think it generated without the USB so fast because it didnt have to constantly save it to the USB.
it doesn't crash immediately because the loaded chunks and some data still loaded in the RAM
i think the world loaded so fast because it didn't have to save anymore, it could just read
Probably
2:36 this isn't only HAPPENING in minecraft I've tried this experiment in my ps2
When I was play God of war(idk if you know this game) I tried to remove the USB but nothing happened when I tried save the game it crashed
3:03 thats my world loading speed currently
That's strange, why would it only store to ram and not run using it until the usb is unplugged????
it didnt start loading fast, it teleported you to world spawn, so you were in chunks that were already loaded in
it actually did load fast, you can see the sand blocks on the bottom on the screen are the same
the reason it loads fast is cus MC is already loaded in RAM, so it can still run if it doesn't need to load in anything
there are tons of comments explaining it
Looks interesting
3:10 yes its my old laptop
I remember getting a virus that deleted the entire windows system folder while i was playing minecraft. Like the system32 folder was just gone. I still have no idea how that worked. Possible idea for a new video?
are you gonna use minecraft preview instead of beta one?
What happens if you delet player.json and player.png?
Holy Mary Mother Of Joseph, Element's hand revealed
I actually did a hand reveal back in 2017 or 2018
Aye, bloody poggers
I assume the game still runs because most of the things loaded are in your memory card/RAM
Hey element i have request for a vid so in enderman vision colors are inverted what if u inverted color in enderman vision
The red overlay looks like it's STILL from survival test from 2009
i think it is
Yes, it is
Who ever played survival test probably knows this red overlay
WHat if u removed animations?
Send link if u alredy did it
bassically, the game says: "oh, the files just changed and this side is way stronger!" 5 seconds later: "wait oh shit wrong place. WAIT WHY AM I TEXTING AND DRIVING car bumps into tree" thats why it crashed.
crashed but literally
Guess my USB flash drive is faster than the one elementx used because I primarily use it for playing Minecraft
me playing 1.16 with intel pentium g2020 and 4 gb ram with hd 2500 . and u saying it is so laggy
nice );(
(Java) what if you change your ign (in game name) while playing on a server
What shaders do you use?
A 2 in 1 tutorial
How to undo a creeper explosion
How to increase FPS
i dont have to use shockbyte, i can use minehut or the minecraft bedrock's right thing. and also, i can just make a normal server hosted by me.
I thought you are gonna remove the hdd that has Minecraft.exe
literally my minecraft modpack: 3:06
Wold?
Those hands be juicin'
(asf)
😂😂
@@ElementX 😂😂😂
The game is stored on the ram so it doesn’t close immediately
It maybe crashed because it tried to autosave to the USB
That is not laggy dude, I run off an old laptop that has to be capped at 60 fps.
The frames go to 0 when I open any menu.
the stuff is gone because it didn't save because it didn't save before you took our the usb before it auto saved
now show us how to dawload mimceraft java edition for free without tlawnture i tried it and it doesn't work
this is actually how slow my old laptop is
(thanks mum for buying a new pc)
thats me on a server using a hotspot!
What this is best use for: Minecraft servers such as Hypixel
it hapenned to me, my disk unplugged and it just crashed 10 sconds after
Wait... so that is consider to be slow mc?... my laptop is warst then USB driwe... T_T
Can you please try the same with other games?
no!
@@Mrazamat888 :
how u get shaders
Something happened to your other channel? You should go check it out
wenn running minecraft on usb or sd-hc its not slow.
bro has sponsor on 4 min video
The Slow Chunks Are Also In Bedrock But It Dosen't Load
3:40 the world is stored on youre ram
@@RadinWaves2 I see you're trying to get paid minimum wage as an English teacher. go ahead.
Do this with halo mcc or halo mcc tools
wow this is crazy
No. But minecraft still on ram (only temporary and crashed)
I did this but with wobble dogs, nothing happened
the game was on your ram 2:37
"Unplug for better performance"
Every time Element X disconnects or connects the drive, the computer plays a sound.
I have a windows 7 (It is updated to windows 10) and it is 64 bit and I can Run minecraft 1.0-1.16.5 and It lags soo much and I hate it and I run with optifine and some stuff (Settings) to make minecraft run faster and faster and faster and I want my windows 7 (windows 10) pc to run faster and faster and faster and I really want to make it faster and faster and faster. How can I make my pc faster and faster and faster?
Try Ubuntu OS
@@AaronTechnic I am 13 yrs old
@@damienoplayzyt so?
@@AaronTechnic WHat do you mean?
@@damienoplayzyt you mentioned your age which is completely out of context
the lag is what i have on my pc
just use /test entities debug