Haiku
Haiku
JCHJava Community | Help. Code. Learn.
Created by Haiku on 12/1/2024 in #java-help
Memory Leak Help
I was able to filter out the recursive references with this statement: SELECT * FROM OBJECTS (SELECT OBJECTS inbounds(obj) FROM OBJECTS 18164409 obj) incoming WHERE incoming NOT IN (SELECT AS RETAINED SET * FROM OBJECTS 18164409) And regardless it turns out that I just wasn't paying enough attention to the paths to the GC roots before. Some mod is indexing a map with player references and accidentally retaining them that way, so that's fixed now.
7 replies
JCHJava Community | Help. Code. Learn.
Created by Haiku on 12/1/2024 in #java-help
Memory Leak Help
Although, clearly whatever is queueing the packets must have a way to reference the player it's giving them to. Problem is, this is my first time using OQL, so I have no idea how to filter out the recursive references.
7 replies
JCHJava Community | Help. Code. Learn.
Created by Haiku on 12/1/2024 in #java-help
Memory Leak Help
I'm not posting a link to it here before responses because a) I don't know how much identifying information it has and b) it's a 2 GB zip file plus indices.
7 replies
JCHJava Community | Help. Code. Learn.
Created by Haiku on 4/5/2024 in #java-help
Under what conditions is Off-Heap memory worth it?
The object that handles memory interfacing is on the heap yes, but it maps to off heap memory. If you don't know that's fine but I really want the input of someone who's used it before
41 replies
JCHJava Community | Help. Code. Learn.
Created by Haiku on 4/5/2024 in #java-help
Under what conditions is Off-Heap memory worth it?
The NIO package has a number of ways to move something off the heap, such as ByteBuffers and memory mapped files.
41 replies