I also checked the logs while it was attempting the path depth 50 and there were no memory errors or anything logged.
Not sure if it helps but here's the system diagnostics from the top of the log.
[ System diagnostics ]
[ System memory information ]
Total Physical memory: 16.00GiB
Free Physical memory: 7.246GiB
Committed virtual memory: 11.18GiB
Total swap space: 0B
Free swap space: 0B
[ JVM memory information ]
Free memory: 7.968GiB
Total memory: 8.000GiB
Max memory: 8.000GiB
Garbage Collector: G1 Young Generation: [G1 Eden Space, G1 Survivor Space, G1 Old Gen]
Garbage Collector: G1 Old Generation: [G1 Eden Space, G1 Survivor Space, G1 Old Gen]
Memory Pool: CodeHeap 'non-nmethods' (Non-heap memory): committed=2.438MiB, used=1.232MiB, max=5.563MiB, threshold=0B
Memory Pool: Metaspace (Non-heap memory): committed=21.50MiB, used=20.71MiB, max=-1B, threshold=0B
Memory Pool: CodeHeap 'profiled nmethods' (Non-heap memory): committed=5.063MiB, used=5.010MiB, max=117.2MiB, threshold=0B
Memory Pool: Compressed Class Space (Non-heap memory): committed=2.824MiB, used=2.479MiB, max=1.000GiB, threshold=0B
Memory Pool: G1 Eden Space (Heap memory): committed=408.0MiB, used=4.000MiB, max=-1B, threshold=?
Memory Pool: G1 Old Gen (Heap memory): committed=7.578GiB, used=0B, max=8.000GiB, threshold=0B
Memory Pool: G1 Survivor Space (Heap memory): committed=24.00MiB, used=24.00MiB, max=-1B, threshold=?
Memory Pool: CodeHeap 'non-profiled nmethods' (Non-heap memory): committed=2.438MiB, used=1.496MiB, max=117.2MiB, threshold=0B
[ Operating system information ]
Operating System: Linux; version: 5.10.102.2-microsoft-standard; arch: amd64; cpus: 4
Max number of file descriptors: 1048576
Number of open file descriptors: 176
Process id: 19552
Byte order: LITTLE_ENDIAN
Local timezone: Etc/UTC
[ JVM information ]
VM Name: OpenJDK 64-Bit Server VM
VM Vendor: Eclipse Adoptium
VM Version: 11.0.16.1+1
JIT compiler: HotSpot 64-Bit Tiered Compilers
VM Arguments: [-Xms8388608k, -Xmx8388608k, -XX:+UseG1GC, -XX:-OmitStackTraceInFastThrow, -XX:+AlwaysPreTouch, -XX:+UnlockExperimentalVMOptions, -XX:+TrustFinalNonStaticFields, -XX:+DisableExplicitGC, -XX:MaxInlineLevel=15, -XX:-UseBiasedLocking, -Djdk.nio.maxCachedBufferSize=262144, -Dio.netty.tryReflectionSetAccessible=true, -Djdk.tls.ephemeralDHKeySize=2048, -Djdk.tls.rejectClientInitiatedRenegotiation=true, -XX:FlightRecorderOptions=stackdepth=256, -XX:+UnlockDiagnosticVMOptions, -XX:+DebugNonSafepoints, -Dlog4j2.disable.jmx=true, -Dfile.encoding=UTF-8]