To give Minecraft Java Edition more RAM, open the official Minecraft Launcher, go to Installations, click the three dots next to your profile, choose Edit, open More Options, and raise the -Xmx value in the JVM Arguments field (for example from -Xmx2G to -Xmx4G). Then press Save, launch the game, and press F3 to confirm the new memory limit. Vanilla Minecraft usually runs comfortably on 2GB to 4GB, while heavy modpacks may need 8GB or more.
Minecraft can run well with a surprisingly small amount of RAM, especially if you stick to the vanilla version without heavy mods or shaders. I have played on machines where the game was perfectly happy with a 2GB heap, and that is still the number the launcher hands out by default in many installations.
Things change once you start loading large modpacks, demanding shaders, or more complex worlds. You may notice stuttering while chunks load, longer loading times, and in the worst case an Out of Memory crash. That is usually the moment when raising Minecraft’s RAM allocation starts to make sense.
I wanted to see how simple the process actually was, so I changed the memory setting in the official Minecraft Java Launcher and then checked the result from inside the game. The change took hold as expected, and the F3 debug screen reported the new memory ceiling. That verification step is the part most guides skip, and it is also the part that tells you whether you edited the right profile.
The part that matters most, though, is not giving Minecraft as much RAM as possible.
You want to give Minecraft enough memory for its workload while leaving enough RAM for Windows and your other applications.
This tutorial walks through how to allocate more RAM to Minecraft Java Edition, how much memory makes sense for different setups, how to change the setting in the most popular launchers, and what to do when adding RAM does not fix the actual problem. Along the way I will explain what the -Xmx flag really controls, why the number in Task Manager rarely matches the number you typed, and which symptoms point to memory in the first place.
How Much RAM Should You Allocate to Minecraft?

There is no single number that works for every Minecraft player. A bare vanilla installation needs far less memory than a sprawling kitchen-sink modpack, and a shader-heavy setup can have different requirements from both of them.
These are the ranges I would use as a starting point:
| Minecraft setup | Suggested starting point |
|---|---|
| Vanilla Minecraft | 2GB to 4GB |
| Light mods | Around 4GB |
| Medium modpacks | Around 6GB |
| Heavy modpacks | 8GB or more |
| Large or demanding setups | Adjust based on actual usage and requirements |
Treat these as launching points, not requirements. A small modpack with a tidy mod list may run perfectly at 4GB, while a different pack with a similar number of mods may want more because of world generation, entity density, or the way its recipes and data packs are structured. The right starting point depends on what Minecraft is actually doing on your PC, which is why the F3 screen matters more than any blog table, including this one.
How Much RAM Does Your PC Have?

Before you touch Minecraft’s settings, check the total physical memory installed in your computer. On Windows, right-click the Start button and open Task Manager, then go to Performance and click Memory. The panel shows the installed capacity along with speed, slots used, and the amount currently in use.
Your PC might have 8GB, 16GB, 32GB, or 64GB. Whatever the number is, remember that Minecraft is not the only program drawing from it. Windows itself needs memory to run, your browser probably has a stack of tabs open, and Discord, music apps, launchers, recording software, and security tools all take their share before Minecraft even starts.
That is the reason you should not hand Minecraft your entire RAM capacity, even on a machine where it feels like there is plenty to spare.
How Much RAM Can You Safely Give Minecraft?
A practical rule of thumb is to keep Minecraft’s allocation at roughly half of your total physical RAM or less. The idea is simple: the other half stays available for the operating system, the GPU driver, and everything else you keep running while you play.
| Total system RAM | Example maximum starting point |
|---|---|
| 8GB | Up to around 4GB |
| 16GB | Up to around 8GB |
| 32GB | Up to around 16GB |
| 64GB | Up to around 32GB |
This is a conservative guideline rather than a rule you have to follow to the gigabyte. Vanilla Minecraft may need far less than half your RAM, and plenty of players leave it at 2GB forever without noticing a thing. The point is to avoid starving Windows and the rest of your software, because a system that starts paging to disk will feel worse than Minecraft ever did.
During my own test the PC had 64GB of RAM, so allocating 10GB to Minecraft left more than enough headroom for the rest of the system. On a 16GB laptop I would not go past 6GB to 8GB, and on an 8GB machine I would stay at 4GB or below.
How to Allocate More RAM to Minecraft Java Edition
The official Minecraft Launcher exposes memory allocation through an installation’s JVM arguments. There is no slider and no advanced memory tab, just a text field, which is why the process looks more intimidating than it really is. It takes a minute at most.
If you are searching for how to assign more memory to Minecraft, the short version is this: change the -Xmx value inside the JVM arguments for the installation you actually launch. Everything else in that field can stay exactly as it is.
Step 1: Open the Minecraft Launcher
Start the official Minecraft Launcher on your computer. Make sure you are working with Java Edition, since the JVM method in this guide applies to Java. Bedrock Edition does not use these arguments at all.
Step 2: Open Installations

At the top of the launcher, click Installations. You will see the Minecraft versions and profiles that exist on your computer: the current release, older versions, and usually one or more separate profiles for mods or shaders.
Step 3: Choose the installation you actually use
Find the installation you want to modify. This step matters more than it sounds, because many players end up editing a profile they never launch. If your everyday vanilla profile runs fine at 2GB but your modded profile keeps running out of memory, the modded one is the one you need to change.
A common pattern is to keep a lean vanilla installation with modest memory and give the modpack profile a larger heap. That way each profile gets what it needs instead of everything sharing one oversized number.
Step 4: Click the three dots

Hover over the installation, click the three dots beside it, and choose Edit. The installation settings panel opens.
Step 5: Open More Options

Scroll through the settings panel until you reach More Options and expand it. This reveals the Java configuration for that profile, including the game directory and the arguments handed to the JVM at launch.
Step 6: Find JVM Arguments

Look for the field labeled JVM Arguments. In it you will find a long string of arguments, and somewhere in that string a memory flag that looks something like -Xmx2G.
That flag controls the maximum Java heap size available to Minecraft. So -Xmx2G sets a maximum heap of 2GB, -Xmx4G sets 4GB, and so on. The value is case-insensitive in practice, but keeping the uppercase G makes the file easier to read later.
Step 7: Change the memory value
Replace the existing number with the amount you want. For example, -Xmx4G sets a 4GB maximum heap, and you could just as easily use -Xmx6G or -Xmx8G depending on the setup.
You do not need to delete the other JVM arguments. In fact, you should not touch them unless you know exactly what they do.
Change the memory value you need and leave the rest of the existing arguments in place.
Step 8: Save the installation
Click Save. The new value is now tied to that specific Minecraft installation, not to the launcher as a whole.
Step 9: Launch Minecraft
Start Minecraft using the profile you just edited. The next step is checking whether the new configuration actually reached the game.
How to Check How Much RAM Minecraft Has

I would verify the change rather than assume it worked, especially the first time you do this. Once you are inside Minecraft Java Edition, press F3. That opens the debug screen, and near the top right you will find a memory line that reports how much heap is in use against the maximum available to the Java process.
The debug screen has been part of Java Edition for years and remains the fastest way to see what the game actually received at launch. The memory figure it prints, which comes from the JVM’s own maximum-memory reading, is the practical ceiling the game will respect.
In my own test I changed the allocation to 10GB. After launching a fresh world and opening the F3 screen, the memory information showed approximately 10,240 MB, which is exactly 10 × 1024MB. That confirmed the launcher change had been picked up by the Java process.
If you go from -Xmx2G to -Xmx8G, launch the game and check the same line. It is normal for the reported maximum to land a little below the exact number you typed, because the JVM reserves some space for itself. What you are looking for is a figure in the right neighborhood, not a perfect match.
On macOS the launcher path is identical, and if you want a second opinion you can open Activity Monitor, find the Java process, and look at its memory footprint. On Linux, a system monitor will show the same thing.
Does Allocating More RAM Increase Minecraft FPS?

Not necessarily. This is probably the most common misunderstanding about Minecraft RAM, and it leads a lot of players to type bigger and bigger numbers into the JVM field with no change in frame rate.
Increasing the Java heap gives Minecraft more room to hold data in memory. It does not make your GPU render frames faster, and it does not make your CPU process game ticks faster. If your current allocation already covers the workload, raising it further will often produce little or no improvement, and in some cases it can make things slightly worse because a larger heap changes how garbage collection behaves.
You are more likely to see a real benefit when Minecraft is genuinely running into memory limits. Heavy modpacks that load thousands of textures, recipes, and block states are the classic case, and so are large worlds with lots of chunk data in play.
If you suspect frame rate is the actual issue, our guide on how to show FPS in Minecraft shows how to measure it before you change anything.
RAM Allocation vs. RAM Usage
These two terms get mixed up constantly, and the confusion makes it hard to tell whether more memory would help.
- RAM allocation is the maximum memory limit available to Minecraft’s Java process. It is the number you type after
-Xmx. - RAM usage is how much memory Minecraft is actually using at any given moment. It moves around constantly as you travel, load chunks, and open menus.
You could set -Xmx8G and still see Minecraft sitting at 2GB most of the evening. The setting is a ceiling, not a reservation, so a large number does not mean the game will constantly consume the full 8GB. It just means the Java process is allowed to grow that far if it needs to.
This is also why a big number in Task Manager is not evidence that the game will run better. Allocation is permission. Usage is demand.
What -Xmx and -Xms Actually Do
Two flags matter more than any other when people talk about Minecraft RAM, and understanding the difference saves a lot of guessing.
| Flag | What it controls | Practical effect |
|---|---|---|
| -Xmx | Maximum Java heap size | Sets the ceiling Minecraft can grow to, and appears as the allocated figure on the F3 screen |
| -Xms | Initial Java heap size | Sets how much memory the JVM grabs at startup, before it needs it |
Most players only need to touch -Xmx. Some older modpack guides recommend setting -Xms equal to -Xmx so the heap never has to grow. That approach can reduce resizing overhead on a dedicated gaming PC, but it also commits all of that memory up front, which is a poor trade on a laptop with 8GB or 16GB of total RAM. If in doubt, leave -Xms alone or keep it modest.
One more detail worth knowing: heaps above roughly 4GB require a 64-bit Java runtime. If you set a large number and the game refuses to launch with a message about not being able to reserve enough space for the object heap, the first thing to check is whether you are running 32-bit Java. The launcher usually bundles a suitable runtime, but custom Java installations can override it.
How Much RAM Does Vanilla Minecraft Need?
Vanilla Minecraft usually does not need a huge allocation. For many standard installations, 2GB to 4GB is a sensible range, and the default the launcher hands out is often enough on its own.
If your game is stable and you are not seeing memory-related crashes, there is little reason to keep pushing the number upward. Extra RAM will not fix low FPS, shader performance, CPU bottlenecks, disk speed, or network latency. The simplest approach is to change the setting only when your workload gives you a reason.
How Much RAM Does Modded Minecraft Need?
Mods can raise memory requirements significantly, but the relationship is not linear. A light setup with a handful of performance and quality-of-life mods may be perfectly comfortable around 4GB. A medium-sized modpack often sits nicely around 6GB. Heavier packs, the ones with hundreds of mods and large tech or magic trees, may want 8GB or more.
Do not assume that a certain number of mods equals a specific RAM requirement. Two packs with a similar mod count can behave very differently depending on world generation, texture resolution, recipe counts, and how aggressively they use cached data.
When the pack’s creator publishes recommended memory settings, use those first. They know what their pack does on a normal playthrough, and their guidance beats a generic table. For larger modded projects, our guide on modded Minecraft server hosting covers the server side of the equation.
How Much RAM Does Minecraft Need With Shaders?
Shaders make Minecraft more demanding, but RAM is rarely the bottleneck they create. A heavy shader pack puts most of its pressure on the GPU and can cut frame rate considerably, while memory usage may stay perfectly reasonable the entire time.
During my demonstration I used an installation with shaders while changing the memory setting, and the 10GB allocation worked correctly on the 64GB system I was using. That does not mean every shader setup needs 10GB. It means the setting was valid on that machine, nothing more.
If a shader causes low FPS while memory usage stays well under the allocated ceiling, adding RAM will not help. Adjusting render distance, shadow resolution, or the shader preset itself is the more useful move.
How Much RAM Should You Allocate With 8GB RAM?
An 8GB computer has limited room, because Windows and your other programs need memory too. Using the half-RAM guideline, around 4GB is a reasonable upper starting point, and vanilla Minecraft may run comfortably on less.
A heavy modpack might want more, but raising Minecraft’s allocation on an 8GB system also leaves less memory for everything else. That trade-off is usually not worth it. On a machine with only 8GB total, closing unnecessary background applications often does more for smoothness than any JVM argument.
How Much RAM Should You Allocate With 16GB RAM?
A 16GB system gives you more flexibility. For vanilla Minecraft or a lighter modded setup, around 4GB is a good starting point. Larger modpacks may benefit from 6GB or 8GB depending on what you run.
You do not have to use 8GB simply because your computer can spare it. If 4GB runs your setup without memory problems, there is little reason to raise it. Plenty of players on 16GB machines cause themselves new stuttering by over-allocating, then spend an evening trying to work out what changed.
For broader memory questions beyond Minecraft, our guide on whether 16GB RAM is enough for gaming puts the numbers in context.
How Much RAM Should You Allocate With 32GB or 64GB RAM?
A high-memory system gives you room to experiment, but the same principle still applies. You do not need to allocate huge amounts to Minecraft unless your workload benefits from them.
A 32GB PC can comfortably run a demanding modpack with 8GB to 12GB allocated while leaving plenty of memory for other programs. A 64GB machine can go further without much risk, though there is rarely a reason to.
In my case I used a 64GB system and allocated 10GB to Minecraft during the test. That was more than enough for the setup I was demonstrating, and the rest of the system never felt the difference.
How to Allocate More RAM in CurseForge
If you launch Minecraft through the CurseForge app, you do not have to edit JVM arguments by hand. The app provides a memory slider, which is friendlier for anyone who does not want to touch raw Java flags.
A typical path looks like this:
Settings → Minecraft → Java Settings → Allocated Memory
From there, drag the slider to the amount you want. Some versions of the app also expose a custom allocation field for finer control. This tends to be easier than editing the Java argument manually, particularly when you keep separate modpack profiles with different needs.
Launcher interfaces change over time, so the exact wording may look slightly different on your installation. If you cannot find the slider, check the game-specific settings area rather than the general application settings.
How to Allocate More RAM in Prism Launcher
Prism Launcher manages memory at the instance level, and the values are entered in mebibytes rather than gigabytes, so 4096 means about 4GB. The relevant controls live on the Java page of the instance settings rather than on a dedicated memory page.
A typical path looks like this:
Right-click the instance → Edit → Settings → Java → Maximum memory allocation
Set the maximum value, and leave the minimum alone unless you have a specific reason to change it. Prism’s own documentation takes a firm line on this, noting that more allocated RAM does not automatically mean better performance and that 4GB covers most non-modpack use cases.
This per-instance approach is genuinely useful when you keep several Minecraft instances with different requirements. A lightweight vanilla profile does not need to share a memory limit with a large modpack.
How to Allocate More RAM in Modrinth
The Modrinth App also lets you control memory per profile, which keeps your vanilla instance lean while a modpack gets more room.
Open the instance and go to its settings, then find the Java and memory section. There you can override the global memory settings for that profile specifically and set the allocation you want.
The exact label varies between app versions, and on some builds the override appears as a toggle next to the global memory value. If you cannot see it, look for the instance settings rather than the app-wide settings, since the global value applies to every profile otherwise.
This is handy if you switch between a light vanilla world and a heavy modpack during the same week. Each profile keeps its own number, and you stop re-editing the same field every time you switch.
What If Minecraft Still Stutters After Adding More RAM?
More RAM is not a universal Minecraft performance fix. Stuttering can come from your CPU, your GPU, graphics settings, shaders, Java configuration, mods, storage speed, or network conditions on a multiplayer server.
Start by working out whether the problem is actually memory-related:
- Check Minecraft’s debug information with F3.
- Look at your FPS and note whether it drops in specific situations.
- Watch memory usage over a few minutes of normal play.
- Pay attention to CPU usage, especially single-core load.
If memory never approaches the allocated ceiling, adding more RAM is unlikely to change anything. The stutter you are seeing is coming from somewhere else, and the fix will be somewhere else too. Our guide on how to reduce CPU usage while gaming is a useful next step when the processor is the bottleneck.
What If Minecraft Crashes With an Out of Memory Error?
An Out of Memory error is a much stronger signal that allocation deserves attention. If Minecraft hits its configured Java heap limit, a higher ceiling may let the game continue with a larger workload. This comes up most often with big modpacks, large render distances, and long play sessions in heavily developed worlds.
That said, raising the number is not always enough. A faulty mod, an incompatible configuration, a memory leak in a specific mod, or an unsuitable Java runtime can all produce similar crashes. If the error keeps appearing after a sensible increase, check the modpack’s stated requirements and your Java version before pushing the number higher again.
Can Too Little RAM Cause Minecraft Stuttering?
It can. When the configured ceiling is too low for the workload, Minecraft spends more time managing a cramped heap and can show symptoms such as hitching, long pauses, or crashes. Chunk-heavy situations make the problem more obvious, since generating and loading terrain is memory-hungry work.
Still, stuttering has many possible causes, which is why I would not raise RAM repeatedly without looking at what the game is actually using. The F3 screen gives you a quick read on that, and it costs nothing to check.
Why Giving Minecraft All Your RAM Is a Bad Idea
It seems logical to give Minecraft as much RAM as possible. More memory sounds like better performance, so why not take everything?
Because Minecraft is not the only thing running. Windows needs memory to stay responsive. Your browser, Discord, security software, recording tools, and launchers all hold onto memory while you play. If Minecraft claims nearly everything, the operating system starts paging to disk, and the whole machine becomes sluggish in ways that have nothing to do with the game.
There is a second, subtler cost. A very large Java heap can lead to longer garbage collection pauses, because the JVM has more memory to scan when it cleans up. Players sometimes report new intermittent hitching after a big allocation increase, which is one reason oversized numbers are not automatically an upgrade.
The goal is not maximum allocation. The goal is sufficient allocation.
What If Minecraft Uses a Lot of RAM?
Seeing Minecraft hold a significant amount of memory is not automatically a problem. Java is designed to use the memory available to it, and a process that has grown toward its ceiling may simply be working efficiently rather than misbehaving.
The more useful questions are whether Minecraft is hitting its limit, whether you are seeing memory-related crashes, and whether the game actually runs poorly. A large number in Task Manager does not prove the game needs even more. Look at the symptoms before you change the setting again.
How to Know if More RAM Actually Helped
The best way to judge a RAM change is to compare the game before and after under the same conditions.
Load the same world or modpack that was giving you trouble. Use the same shaders and graphics settings where relevant. Then ask yourself:
- Did the Out of Memory error stop?
- Did chunk loading become smoother?
- Did stuttering related to memory pressure improve?
- Did nothing change at all?
That last result is useful too. If nothing improves, the original problem probably was not about RAM, and you can stop experimenting with the number and look elsewhere.
My Minecraft RAM Test
I wanted to confirm the setting worked rather than change a number and assume the result, so I ran the whole process end to end.
I opened the official Minecraft Java Launcher and selected the installation I wanted to modify. After choosing Edit and then More Options, I found the JVM Arguments field. The memory argument in it read -Xmx2G.
I replaced it with -Xmx10G, saved the installation, launched Minecraft, and loaded a fresh world. Then I pressed F3 and read the memory line on the debug screen. It showed approximately 10,240 MB, which is 10GB expressed in megabytes and confirmed that the new setting had reached the Java process.
The number itself was not the interesting part. What mattered was proof that the launcher change had actually been applied to the running game, rather than saved to a profile I never launched. That is the check I would recommend to anyone doing this for the first time.
I also recorded a visual walkthrough of the process:
Common Minecraft RAM Allocation Mistakes
Giving Minecraft all available RAM
Your operating system and other applications still need memory, so do not treat your total RAM as Minecraft-only memory. Leaving headroom keeps the whole system responsive.
Assuming more RAM means more FPS
RAM allocation can help with memory limits. It does not directly increase graphics performance, and it will not fix a GPU-bound frame rate.
Editing the wrong installation
The launcher can hold multiple profiles. Make sure you are changing the one you actually launch, and check the F3 screen afterward to confirm.
Deleting the existing JVM arguments
Do not replace the whole JVM field unnecessarily. Change the memory argument and leave the other required settings intact.
Never verify the result
Launch Minecraft and read the F3 memory line after making a change. It takes ten seconds and settles the question.
Increasing RAM without identifying the problem
CPU usage, GPU performance, shaders, storage, and networking can all cause Minecraft problems that additional RAM will not fix.
Setting a huge -Xms value by habit
Copying old modpack guides that set the initial heap equal to the maximum can waste memory on systems with limited RAM. Most players only need to adjust -Xmx.
What About RAM and Minecraft Server Performance?
This guide focuses on RAM allocated to Minecraft running on your own computer. That is a different topic from RAM assigned to a Minecraft server, even when both run on the same machine.
A server has its own memory requirements based on player count, world size, mods, plugins, and view distance. Its startup script uses its own -Xmx value, and changing the client allocation does nothing for it.
If you run your own server, see our guide on how much RAM you need for a Minecraft server. Client memory and server memory are managed separately, and mixing them up is a common source of confusion.
Quick Minecraft RAM Recommendations
If you want a simple starting point, here is the approach I would take:
| Setup | Starting RAM |
|---|---|
| Vanilla | 2GB to 4GB |
| Light mods | Around 4GB |
| Medium modpack | Around 6GB |
| Heavy modpack | 8GB or more |
Treat these numbers as starting points rather than hard requirements. The specific modpack, shader setup, Java version, and total system memory all influence what actually works, and the F3 screen will tell you more about your situation than any general table can.
Frequently Asked Questions
How do I allocate more memory to Minecraft?
In the official Java Launcher, open Installations, select your profile, click the three dots, choose Edit, open More Options, and find JVM Arguments. Change the -Xmx value, for example, from -Xmx2G to -Xmx4G or -Xmx8G, then save and launch the game.
How much RAM should I allocate to Minecraft?
Vanilla Minecraft typically runs well with 2GB to 4GB. Light modded setups often start around 4GB, medium modpacks around 6GB, and heavy modpacks may want 8GB or more. Staying near half of your total system RAM is a safe upper limit.
Is 4GB enough for Minecraft?
For vanilla Minecraft and many lighter modded setups, yes. Larger modpacks with hundreds of mods may need more, depending on what they add to the world.
Is 8GB enough for Minecraft?
It can be, particularly for heavier modpacks. Not every installation needs that much, and giving more than the workload requires rarely improves performance.
How much RAM should I allocate with 16GB of system RAM?
Around 4GB is a sensible starting point for vanilla and lighter setups. Larger modpacks may justify 6GB or 8GB, depending on what you run alongside the game.
Can I allocate 10GB to Minecraft?
Yes, provided your PC has enough total memory to keep Windows and your other programs comfortable. In my test I used a 64GB system and allocated 10GB.
Does allocating more RAM increase Minecraft FPS?
Not automatically. More RAM helps when the game is hitting memory limits, but frame rate also depends on CPU, GPU, shaders, graphics settings, and render distance.
What does -Xmx mean in Minecraft?
The -Xmx JVM argument sets the maximum Java heap size available to Minecraft. For example, -Xmx8G sets a maximum heap of 8GB.
What does -Xms mean, and should I change it?
-Xms sets the initial heap size the JVM grabs at startup. Most players do not need to change it. Setting it equal to -Xmx commits all that memory up front, which is a poor trade on machines with limited RAM.
How do I check Minecraft RAM usage?
In Minecraft Java Edition, press F3. The debug screen shows how much memory is in use and the maximum allocated to the Java process.
Why does Minecraft still show 2GB after I changed the setting?
You most likely edited a different installation than the one you launched, or the change was not saved. Reopen Installations, confirm the profile, check the JVM Arguments field, and verify again with F3 after launching.
Can more RAM fix Minecraft stuttering?
It can when memory is part of the problem. Stuttering can also come from CPU load, GPU limits, shaders, mods, storage speed, or networking.
How much RAM does modded Minecraft need?
It depends on the pack. Light setups often run around 4GB, medium packs around 6GB, and heavy packs may require 8GB or more. Check the pack creator’s recommended settings first.
Can I allocate more RAM to Minecraft Bedrock?
The JVM method in this guide applies to Minecraft Java Edition. Bedrock Edition does not use the Java Launcher memory setting described here.
How do I allocate more RAM in CurseForge?
A common path is Settings → Minecraft → Java Settings → Allocated Memory, where you can move the slider to the amount you want.
How do I allocate more RAM in Prism Launcher?
Right-click your instance, choose Edit, open Settings, go to the Java page, and adjust Maximum memory allocation. Values are entered in mebibytes, so 4096 is roughly 4GB.
How do I allocate more RAM in Modrinth?
Open the instance, go to its settings, and find the Java and memory section. There you can override the global memory settings for that profile and set your own value.
Final Thoughts
Allocating more RAM to Minecraft is a simple change once you know where the setting lives. With the official Java Launcher, the key option is the -Xmx value inside the JVM Arguments field, and it sits behind Installations, Edit, and More Options.
Vanilla Minecraft usually does not need a huge amount of memory, while large modpacks and demanding setups can benefit from more. My own test used a 64GB PC with a 10GB allocation, and the F3 debug screen confirmed that approximately 10,240MB was available to the Java process.
That verification was worth doing, but the larger lesson is the more useful one.
Do not allocate more RAM simply because you can.
Give Minecraft enough memory for the workload you are actually running, then leave enough RAM for Windows and everything else on your computer. If the game is crashing with an Out of Memory error or struggling with a large modpack, a higher allocation may genuinely help. When the real problem is low FPS, high CPU usage, GPU limits, shaders, or network lag, more RAM will not necessarily solve it.
The goal is not to give Minecraft the most RAM possible. The goal is to give it enough RAM to run your setup comfortably, and to know how to check that the change did what you intended.
