It can be observed with a slightly heavy animating sample like ColorfulCircles sample in Ensemble.
The memory consumption increases constantly at a rate of 1 GB in 15 to 20 minutes.
The rate becomes 5 to 10 GBs in 1 minute if METAL_DEVICE_WRAPPER_TYPE is enabled.
- is blocked by
-
JDK-8339722 [Metal] memory consumption increases when switching between samples in ensemble
- Open
-
JDK-8339723 [Metal] memory consumption increases when ensemble window is resized
- Open
-
JDK-8343192 Verify whether we need to implement DisposerRecord for MTLShader
- Open
-
JDK-8336596 Missing dealloc/dispose methods in Metal shader classes
- Resolved
-
JDK-8336644 Memory leak of NSMutableArray reference
- Resolved
-
JDK-8337078 Continuous increase of memory footprint in Metal
- Resolved
-
JDK-8339243 Memory leak of MTLCommandBuffer and Encoder
- Resolved
-
JDK-8339457 Memory leak of MTLTextureDescriptor and MTLComputePipelineState
- Resolved
-
JDK-8342146 Use dealloc method in MetalShader and fix leak
- Resolved
-
JDK-8342379 Release managed texture resource appropriately using disposer
- Resolved
-
JDK-8336641 MetalPipelineManager class should cleanup allocated NSMutableDictionaries
- Resolved
-
JDK-8338955 Release BlitEncoders to avoid leakage while using the application
- Resolved
-
JDK-8342603 Release MTLRenderPipelineDescriptor objects
- Resolved
-
JDK-8342678 Remove MTLResource usage
- Resolved