Out of memory (when I'm giving it 2G of ram)?

Status
Not open for further replies.

PeggleFrank

New Member
Jul 29, 2019
928
0
0
I'm running a 78-mod resonant-rise-like-1.5.2-terribly-unstable modpack. It seems to work fine now that I've deleted forestry because forestry likes to hoard 256 item IDs for each of it's items, but now I've run into another problem. I'm using MultiMC, and when I launch Minecraft it's completely fine until I try to generate a world. It generates a tiny bit, then it crashes for an out of memory error. Via MultiMC I've dedicated it 2GB min RAM, and 4GB max RAM. After looking at task manager, I've tuned it down to 1G-2G because I didn't have more than 2.5G free space, and I still get the same error message.

This is all that's in the crash log that's actually useful.

2013-06-15 11:50:32 [INFO] [Minecraft-Server] PeggleFrank[/127.0.0.1:0] logged in with entity id 293 at (-2.5, 73.0, 220.5)

2013-06-15 11:50:32 [INFO] [STDOUT] Loading Player: PeggleFrank
2013-06-15 11:50:32 [INFO] [STDOUT] Sending serverside check to: PeggleFrank
2013-06-15 11:50:32 [INFO] [STDOUT] Player: GCCorePlayerMP['PeggleFrank'/293, l='No more memory errors plox', x=-2.50, y=73.00, z=220.50]
2013-06-15 11:50:33 [INFO] [GraviGun] [1.5.1] Sending client info to server
2013-06-15 11:50:33 [INFO] [PortalGun] [1.5.2] Sending client info to server
2013-06-15 11:50:33 [INFO] [ForgeModLoader] [THAUMCRAFT] Client received server config settings.
2013-06-15 11:50:33 [INFO] [STDOUT] Loading World: local/No more memory errors plox
2013-06-15 11:50:33 [INFO] [GraviGun] [1.5.1] Recieved client info from PeggleFrank
2013-06-15 11:50:33 [INFO] [PortalGun] [1.5.2] Recieved client info from PeggleFrank
Minecraft successfully killed
2013-06-15 11:51:09 [INFO] [STDERR] Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space <---- stuff goes wrong
Minecraft exited with code -1.
Minecraft was killed.

If you don't believe me, here's the pastebin.
http://pastebin.com/nsTERWPw

A list of mods is here:
JAR MODS:
None (besides forge obviously)
CORE MODS:
CodeChickenCore 0.8.7
CoFHCore-1.5.2.4
denLib (I have no idea what the heck this is)
Galacticraft-1.5.2-a0.1.35.309
NotEnoughItems 1.5.2.28
PowerCrystalsCore-1.1.6-107
NORMAL MODS:
(I'm not going to bother to list versions. The universal electricity ones were taken from the UE website download links, and the others were taken from the 152ngt pack. The others were just added in manually and I took the latest Jenkins builds)
Advanced solar panels
Applied Energistics
Assembly Line
Atomic Science
BiblioCraft
Biotech
Buildcraft
CompactSolars
ComplexMachines
Computercraft
DartCraft
ElectricExpansion
ExtraUtils
Factorization
FluidMechanics
GravityGun
ICBM_Contraption
ICBM_Explosion
ICBM_Sentry
IChunUtil
Industrialcraft2 - Version 2-1.5.2-1.115.340-lf, since I had to look around for this one I figure you might need it.
InventoryTweaks
IronChest
MekanismGenerators
MekanismTools
Mekanism
MFFS version v3.0.3.129.jar (the updated and strange version of MFFS that nobody knows how to use)
MineChem
MineFactoryReloaded
MiscPeripherals
ModularForcefieldSystem (oh wait wtf is that there I need to remove that)
ModularPowersuits
MPSA
Mystcraft
Natura
ObsidiPlates
Omnitools
PortalGun
RailCraft
SoulShards
StevesCarts
Thaumcraft
ThaumicTinkerer
ThermalExpansion
TinkersConstruct
TwilightForest
 

Jinbobo

New Member
Jul 29, 2019
596
0
0
Try adding this to the JVM arguments:
Code:
-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:PermSize=128m
 

PeggleFrank

New Member
Jul 29, 2019
928
0
0
That worked, thanks.

I'm going to assume that any further crashes are because of what I did to the configs.
 

Neilex

New Member
Jul 29, 2019
39
0
0
Ok, so I'm helping Peggle test a modpack that he is doing and i got this error when i tried to get his updated version

Instance folder is:
C:\Users\Winner\Desktop\MultiMC\instances\Skycraft\minecraft\

Instance started with command:
"C:\Program Files\Java\jre7\bin\java.exe" -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:permSize=128m -Xms1024m -Xmx2048m -jar MultiMCLauncher.jar "Neilex" "-2968283157740361841" "MultiMC: Skycraft" "854x480" "Mojang"

Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
Minecraft exited with code 1.
Minecraft has crashed!

I am using x86 MultiMC, let me know if more specs are needed.

Edit: Ignore the :p just hover over it to see what is supposed to be there
 

Eyamaz

New Member
Jul 29, 2019
2,373
0
0
Just because he is using x86 multimc doesn't mean he is on a 32 bit OS.

What are the specs on your computer?
 

Neilex

New Member
Jul 29, 2019
39
0
0
Intel(R) Pentium(R) 4 CPU 2.80GHz, 2 GB RAM, 32-bit OS, Windows 7 Ultimate, doubt you need graphics or anything like that
 

Oratory

New Member
Jul 29, 2019
78
0
0
Are you sure that you got 2gb RAM? because that is clearly the problem then, as you are giving it more ram than you actually have available.
 
Status
Not open for further replies.