jtrfp / terminal-recall

Engine remake for Terminal Velocity and Fury3
Eclipse Public License 1.0
58 stars 4 forks source link

GPU Resource Leak - Codepage exhaustion. #283

Closed cjritola closed 5 months ago

cjritola commented 5 months ago

Looks like the Nuclear GC will need to be reinstated:


java.lang.RuntimeException: Stalepages unflushed following finalization!
    at org.jtrfp.trcl.mem.PagedByteBufferContext$CleaningAction.run(PagedByteBufferContext.java:77)
    at java.base/jdk.internal.ref.CleanerImpl$PhantomCleanableRef.performCleanup(CleanerImpl.java:186)
    at java.base/jdk.internal.ref.PhantomCleanable.clean(PhantomCleanable.java:133)
    at java.base/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:150)
    at java.base/java.lang.Thread.run(Thread.java:829)
    at java.base/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)

Total allocated pages: 47825
==== PHYSICAL PAGE 0 MemoryWindow SubTextureWindow
==== PHYSICAL PAGE 1 MemoryWindow TextureTOCWindow
==== PHYSICAL PAGE 2 MemoryWindow ObjectListWindow
==== PHYSICAL PAGE 3 MemoryWindow ObjectListWindow
==== PHYSICAL PAGE 4 MemoryWindow MatrixWindow
==== PHYSICAL PAGE 5 MemoryWindow ObjectListWindow
...
Terminal Recall has aborted due to a problem re-allocating pages.