Giter Site home page Giter Site logo

memoryfix's Introduction

MemoryFix is a mod for Forge 1.8.9 that aims to fix known memory issues.

Which issues does it fix?

  • Optifine cape leak: This is the main memory leak, anyone who has played minigames for a few hours would have experienced it. More information: sp614x/optifine#526.
  • Oversized resource pack icons: Some users download hundreds of resource packs and some resource pack makers (looking at you Apexay) put huge icons in their resource packs. This adds up and can use hundreds of megabytes of memory for some users.
  • System.gc() on world change: Causes world changes to take a few seconds. The same effect can also be achieved by adding the JVM argument -XX:+DisableExplicitGC.

Special thanks

YourKit-Logo

YourKit supports open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of YourKit Java Profiler and YourKit .NET Profiler, innovative and intelligent tools for profiling Java and .NET applications.

Without the use of YourKit, this project would not have been possible.

memoryfix's People

Contributors

prplz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

memoryfix's Issues

Changing packs

When I change pack it puts the memory usage up to around 80%-90% therefore causing lag spikes repeatedly until the game is restarted.

Map textures leak

For example bedwars, murder mystery and prototype lobbies on hypixel. Maybe we should call the clear maps method on change world, for remote worlds.

Memory bug

Basically when I was playing after like 5 minutes it was starting to lag but when I removed to mod everything was fine.

Packets Being Sent To The Server. CAUSING THIS MOD TO GET YOU BANNED ON HYPIXEL!

So I was using this mod in one of my streams, as it enabled me to do so on the Hypixel server. However, I woke up the next day and was banned by watchdog. So I decided to do a little investigation on this, and I found that packets are being sent to the server pretty consistently.
Below are two packets that get sent to the server. The ARM_ANIMATION packet is the one being sent the most. The second one happens every time you login to the server. The first gets sent consistently as you are playing, more specifically, almost every time you hit, place, or break a block.
31.01 15:48:34 [Server] INFO Received ARM_ANIMATION[class=PacketPlayInArmAnimation, id=29] from Deliberating.
31.01 15:47:37 [Server] INFO Received ENCRYPTION_BEGIN[class=PacketLoginInEncryptionBegin, id=1] from UNKNOWN[/This is an IP, I don't wanna show it ;)].

I'm not really too experienced with making mods and plugins, but I'm pretty experienced with configuring and troubleshooting. I believe this issue is rather crucial to fix as this is causing players to get banned from hypixel, including myself. Which the appeals team denied, as always.

OpenGL Error: 1283 Stack Overflow

This has nothing to do with the mod, but I was just wondering if you could shed some light on this. Basically if you use OptiFine 1.8.9 HD U H8+ and try to press f3, Minecraft will completely render useless, and start spamming "opengl error:1283(stack overflow) in chat. This takes a good 5 minutes to shut down the Minecraft process through task manager and I was wondering why?

Is this something you could fix like you've done previously?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.