Jump to content

Massive memory leak when exiting minecraft while using forge


Zimosis

Recommended Posts

I am getting a massive memory leak when I exit minecraft while using forge. This happens with or without any mods actualy loaded.

I have tried it with both 1.7.10-10.13.4.1448-1.7.10 and 1.8-11.14.3.1450 with the same result.

 

fml log 1.7.10-10.13.4.1448-1.7.10: http://pastebin.com/32MsKkKq

 

fml lg 1.8-11.14.3.1450: http://pastebin.com/92u8WZ1Q

 

Edit: Forgot to mention. Ive done a search for a solution to this but my search has not bine fruitful.

Edit 2: I can run minecraft by itself without forge without any problems.

Link to comment
Share on other sites

And then the JVM dies because the process ends and all memory is freed.

There are a few things that would eat memory while shutting down, mainly saving the world.

But once the JVM is dead, the JVM is dead.

If you're saying the JVM DOESN'T DIE then that is a issue.

You should try and grab us a profile snapshot using jprofiler {it's in the JDK bin folder, or just google it}

However just randomly saying 'MASSIVE MEMORY LEAK' with no further details besides logs spanning two differnt mc version {and thus impossible to tell the differences} that don't show ANY issues is not helpful.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Then something you have installed is keeping the jvm alive. Be it a poorly configured JVM, and antivirus, a mod, or something of the sort. However Forge should not be the cause of this as we'd of seen it on millions of other users.

As it sounds like you have no idea what you're doing, I'll ask you this. Do you know what teamviewer is, and if so would you be willing to let me remote control your computer so that you can show me this and we can do some debugging. I highly doubt it's forge but there is nothing we can do without ACTUAL data.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Those snapshots show the memory allocation and the jvm termination. But you haven't recorded the thread stack states or anything like that.

There shouldn't be any reason for your JVM to not terminate.

If you're willing i'd like to try and actively debug this on your computer through teamviewer.

It's been 'reported' a handful of times before but nobody is willing to help debug it so I chalk it up to something broken on their end because we have millions of users not reporting anything.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Start a session and e-mail me the details at [email protected] and i'll connect

 

[Edit]

Alright did some debugging with him, seems as if it's a driver issue {his graphics card/drivers is ~4 years old -.-} and the new loading screen.

However the issue is NOT happening inside of Minecraft AT ALL. it's completely exiting the MC codebase and EVERYTHING java related and stalling in native code after everything else is terminated.

Below is his log and driver info so I can pass it along to fry when he gets back.

For now the solution is to disable the loading screen and hope nothing pokes the launcher to be stupid.

[22:29:46] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[22:29:46] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[22:29:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[22:29:46] [main/INFO] [FML]: Forge Mod Loader version 8.99.124.1450 for Minecraft 1.8 loading
[22:29:46] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 7:amd64:6.1, installed at C:\Pontus\Minecraft\runtime\jre-x64\1.8.0_25
[22:29:46] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:29:46] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[22:29:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:29:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:29:46] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:29:47] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[22:29:47] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[22:29:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:29:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[22:29:48] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[22:29:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[22:29:48] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[22:29:48] [Client thread/INFO]: Setting user: zimosis
[22:29:50] [Client thread/INFO]: LWJGL Version: 2.9.1
[22:29:50] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:235]: ---- Minecraft Crash Report ----
// I just don't know what went wrong 

Time: 2015-08-05 22:29
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
        Minecraft Version: 1.8
        Operating System: Windows 7 (amd64) version 6.1
        Java Version: 1.8.0_25, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 84456864 bytes (80 MB) / 255066112 bytes (243 MB) up to 1060372480 bytes (1011 MB)
        JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
        IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
        FML:
        Loaded coremods (and transformers):
        GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.2.11762 Compatibility Profile Context' Renderer: 'AMD Radeon HD 7900 Series'
[22:29:50] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[22:29:50] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1450 Initialized
[22:29:50] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[22:29:50] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[22:29:50] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[22:29:50] [Client thread/INFO] [FML]: Searching C:\Users\Pontus\AppData\Roaming\.minecraft\mods for mods
[22:29:51] [Client thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load
[22:29:51] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT
[22:29:51] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER
[22:29:51] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
[22:29:52] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[22:29:52] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[22:29:52] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[22:29:52] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[22:29:52] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[22:29:52] [Client thread/INFO] [FML]: Applying holder lookups
[22:29:52] [Client thread/INFO] [FML]: Holder lookups applied
[22:29:52] [Client thread/INFO] [FML]: Injecting itemstacks
[22:29:52] [Client thread/INFO] [FML]: Itemstack injection complete
[22:29:52] [sound Library Loader/INFO]: Starting up SoundSystem...
[22:29:52] [Thread-9/INFO]: Initializing LWJGL OpenAL
[22:29:52] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:29:52] [Thread-9/INFO]: OpenAL initialized.
[22:29:52] [sound Library Loader/INFO]: Sound engine started
[22:29:53] [Client thread/INFO]: Created: 512x512 textures-atlas
[22:29:54] [Client thread/INFO] [FML]: Injecting itemstacks
[22:29:54] [Client thread/INFO] [FML]: Itemstack injection complete
[22:29:54] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 3 mods
[22:29:54] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
[22:29:54] [Client thread/INFO]: SoundSystem shutting down...
[22:29:54] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[22:29:54] [sound Library Loader/INFO]: Starting up SoundSystem...
[22:29:54] [Thread-11/INFO]: Initializing LWJGL OpenAL
[22:29:54] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:29:54] [Thread-11/INFO]: OpenAL initialized.
[22:29:54] [sound Library Loader/INFO]: Sound engine started
[22:29:55] [Client thread/INFO]: Created: 512x512 textures-atlas
[22:29:55] [Client thread/ERROR]: ########## GL ERROR ##########
[22:29:55] [Client thread/ERROR]: @ Post startup
[22:29:55] [Client thread/ERROR]: 1286: Invalid framebuffer operation

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.