Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Minecraft has run out of memory" errors in log and "Can't connect to server" Error on Multiplayer #3174

Closed
Bunistalri opened this issue Jun 1, 2020 · 9 comments

Comments

@Bunistalri
Copy link

Bunistalri commented Jun 1, 2020

System Information

MultiMC version: 0.6.11-1430 on win32

Operating System: Windows 10, 64bit

Summary of the issue or suggestion:

This is a 3-part rabbit hole of things that screwed up in Minecraft and MultiMC.

  1. I wanted to make space in my laptop's C: SSD drive, so I deleted the Minecraft launcher and most of my MultiMC instances. I reinstalled the Minecraft Launcher. I deleted and re-downloaded Java.
  2. Minecraft gives me a "Minecraft has run out of memory" error
  3. Multiplayer lists all Minecraft servers as grayed-out and "Can't connect to server"

What should happen:

Minecraft should start up as normal when double-clicking a MultiMC instance. Minecraft should not give any "Minecraft has run out of memory" errors. The multiplayer servers should have their own colorful icons and should be available to connect to them.

Steps to reproduce the issue (Add more if needed):

  1. Attempt to free up space on my C: SSD drive by deleting the Minecraft Launcher. Also delete an old-looking version of Java in my Downloads folder that has the number 8 on it, which I assumed meant "Windows 8".

1a. Attempt to move the Minecraft Launcher to D: drive, which has more space.

1b. Realize that MultiMC stops functioning without the Minecraft Launcher and that I have no idea how to make MultiMC check for the Minecraft Launcher in the D: drive without making things worse.

1c. Re-download the Minecraft Launcher to C:

1d. MultiMC can't find Java. Redownload Java to both C: and D:.

1e. Minecraft now gives me a "Minecraft has run out of memory" screen whenever I try to start it.

1f. Delete some extra MultiMC instances.

1g. Realize I accidentally deleted my main 1.15.2 instance (RIP 2019-2020), can't find it in the Recycle Bin, download Recuva, realize I can't find it in Recuva either.

  1. Give up and create a new 1.15.2 instance

  2. Click "Install Fabric". From Forge, download Fabric, Fabric API, Fabric installer, Optifabric, Optifine, and Voxelmap and move them to the instance's Mods folder.

  3. Double click on the instance to run Minecraft.

  4. Click Multiplayer

  5. Add some servers by clicking Add server > Enter server IP > Enable server resource packs > Done

  6. I now have a list of multipayer servers that all say "Can't connect to server" despite those servers being online. No wifi bars are shown and no player count is shown.

Suspected cause:

Something crucial somehow got deleted when I went on a drive cleaning rampage and deleted most of my MultiMC instances. Though it makes no sense how deleting instances can affect all future instances.

Logs/Screenshots:

[//]: # https://paste.ee/p/etqbJ

Additional Info:

This is a Dell G15 gaming laptop. I have restarted multiple times and that is not helping.
On the plus side: If I have to move the Minecraft Launcher to D: and uninstall MultiMC and then reinstall MultiMC to D: to free up space on C:, I won't have anything else left to lose. :3c

@Heufneutje
Copy link
Contributor

Heufneutje commented Jun 1, 2020

You're using 32-bit Java and also only 1 GB of RAM. You should install 64-bit Java and assign more RAM in MultiMC's settings.

https://github.com/MultiMC/MultiMC5/wiki/Using-the-right-Java
https://github.com/MultiMC/MultiMC5/wiki/Increasing-Java%27s-memory-allocation

Considering the log is full of OutOfMemory errors on server pings, that could also be why you can't connect to servers.

@Bunistalri
Copy link
Author

I also have "Java Test Failure: The specified java binary didn't work with the arguments you provided:" when trying to test it under Java Runtime, is that related?

@Bunistalri
Copy link
Author

Ah nvm the Java test succeeded after the 64 bit Java finished downloading!

@phit
Copy link
Contributor

phit commented Jun 1, 2020

Realize that MultiMC stops functioning without the Minecraft Launcher and that I have no idea how to make MultiMC check for the Minecraft Launcher in the D: drive without making things worse.

also just to clarify, you do not need the normal launcher installed at all for multimc to work

@Bunistalri
Copy link
Author

Huh, that's strange. Right after I deleted the launcher MultiMC said it couldn't find Minecraft or something.

@kb-1000
Copy link
Contributor

kb-1000 commented Jun 1, 2020

then you got a strange setup.

@UltraBlackLinux
Copy link

UltraBlackLinux commented Jun 2, 2020

(Happy now?)

@Zetabite
Copy link
Contributor

Zetabite commented Jun 2, 2020

@UltraBlackLinux You are the kind of person that make other people dislike linux.

@Forkk
Copy link
Member

Forkk commented Mar 7, 2021

This issue is being closed for inactivity. If you're still having trouble with this, feel free to come by our Discord server and ask for help.

@Forkk Forkk closed this as completed Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants