-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Faced with a problem "HandleAllocator arena is full, using slower system heap" #5758
Comments
Can you provide more detail about the crash?
Could you send us the model that causes the crash? |
Ah, the problem is actually this message:
The model is just too big. We have a pending change that will allow you to configure this buffer at runtime -- however, I would strongly recommend to fix your model. These are mobile devices with limited resources, you shouldn't use models with so many draw calls. You need to use a library that optimizes your model geometry. |
I did a test incrementing FILAMENT_MIN_COMMAND_BUFFERS_SIZE_IN_MB from 1 to 3, and FILAMENT_RENDER_PASS_SIZE_IN_MB from 3 to 4 as well as FILAMENT_PER_FRAME_COMMANDS_SIZE_IN_MB from 2 to 3, and the model was displayed. It has over 600 draw calls. |
Thank you for the answer, which library can you recommend for optimizing the glb model? |
Everything worked great until I loaded a relatively heavy model. The
"E/Filament: in allocateHandleSlow:82
reason: HandleAllocator arena is full, using slower system heap. Please increase the appropriate constant (e.g. FILAMENT_OPENGL_HANDLE_ARENA_SIZE_IN_MB).
E/Filament:
A/libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7776435000 in tid 13032 (ugmentedreality), pid 13032 (ugmentedreality)"
error occurs with the loadGlb() function. What to do in such a situation? I'm adding the package to build.gradle. Using 3D Viewer on android.
The text was updated successfully, but these errors were encountered: