Insufficient memory in Apple M1
Posted by mahesh on Jul 05, 2024; 2:27pm
URL: https://forum.jogamp.org/Insufficient-memory-in-Apple-M1-tp4043490.html
I am getting following error in jogl 2.5, when using with Mac M1. Jogl canvas however continues to work fine but All Swing windows/dialogs become blank once the error occurs. The error occurs doesn't occur instantly but only after using app for some time.
I am using com.jogamp.opengl.util.Animator.Animator and GLCanvas with JFrame to render.
2024-07-05 19:43:55.921 java[2475:219500] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=8 "Insufficient Memory (00000008:kIOGPUCommandBufferCallbackErrorOutOfMemory)" UserInfo={NSLocalizedDescription=Insufficient Memory (00000008:kIOGPUCommandBufferCallbackErrorOutOfMemory), NSUnderlyingError=0x600000996790 {Error Domain=IOGPUCommandQueueErrorDomain Code=8 "(null)"}}
Somebody else getting same problem? Any idea how to fix?
Note: never faced such issue in windows. Is it related to Metal?