Back to mods
Apoli Stream Leak project artwork

CurseForge · Minecraft mod

Apoli Stream Leak

Overwrites Apoli's costly usages of Streams and memory-intensive operations that are run on every tick.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Apoli Stream Leak release should I use?

Updated 1 year ago
Latest stable file ASL 1.1.0 for 1.20.1
Game version 1.20.1
Loader Forge

Apoli Stream Leak ASL 1.1.0 for 1.20.1 targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is Apoli Stream Leak required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Apoli Stream Leak ASL 1.1.0 for 1.20.1 need?

ASL 1.1.0 for 1.20.1. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Apoli (Forge) first. We found matching files for this game-version and loader setup.

Apoli (Forge) Needed by Apoli Stream Leak ASL 1.1.0 for 1.20.1
required
Matching file found Matched file: apoli-forge-1.20.1-2.9.0.8.jar

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Apoli Stream Leak without breaking your instance.

Built for Apoli Stream Leak ASL 1.1.0 for 1.20.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use ASL 1.1.0 for 1.20.1. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Apoli (Forge) first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside ASL 1.1.0 for 1.20.1. It opens that exact file at the source.

About this project

What does Apoli Stream Leak add?

Apoli Stream Leak

Apoli Stream Leak is a coremod for Forge that aims to fix avoidable performance issues for Apoli (Forge).

Purpose

Apoli is a 3rd-party redistribution of a library that comes built-in with Origins (Forge) that modders can use without needing to depend on the rest of Origins. There are several instances within Apoli's code where Streams are created in methods that are called every tick on both the client and server. The creations of these Streams, along with their associated lambda allocations, have caused noticeable performance degradations, especially on servers with multiple players connected.

Apoli Stream Leak overwrites the usages of these Stream creations with traditional for-loops and other alternative implementations in order to avoid excess memory usage. The result is immediate.

Performance Difference

Here is a Spark profile of the Resurvival modpack which contains Apoli:
https://spark.lucko.me/Qa87epEMA8

Here is a Spark profile of the same instance now including Apoli Stream Leak:
https://spark.lucko.me/vQ1lXBRg7w

Within Spark's own mod tree, Apoli itself sees a 4% decrease in tick time when paired with Apoli Stream Leak. Other mods such as Mining Master, which use events that Apoli directly hooks into, also see a decrease of around 1% or greater.

Open to Other Solutions

Apoli Stream Leak was created due to the absense of a open-source/source-available repository for Apoli (Forge) (NOT to be confused with the original Apoli mod). I am personally open to contributing the changes I have made with this coremod to Apoli itself (preferably for the Forge version as that is my use case). You can find me at jonathing.me.

Project description from CurseForge.

Pick your setup

Apoli Stream Leak by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Apoli Stream Leak versions and loaders

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.