google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.23k stars 604 forks source link

SceneForm Uses 100% RAM #1083

Open edxcastellanos opened 4 years ago

edxcastellanos commented 4 years ago

Hi! Everytime I open a model using sceneform in Android Studio, my RAM is fully used but is really a problem since I have 32GB RAM so it shouldn't max out.

Tell me if you need something (logs, specifications) to help you with this problem

SGTjeong commented 4 years ago

Yeah it happens to me as well. It's an well known issue

edxcastellanos commented 4 years ago

@SGTjeong alright, is there anything we can do to avoid the viewer from consuming the RAM at it's MAX capacity? Do you know if the team is working already on a solution and maybe in a next version it won't happen anymore?

tpsiaki commented 4 years ago

Hi @edxcastellanos - We recommend moving to Sceneform 1.16 and using glTF/glb rather than sfb. For this workflow the Android studio plugin is unnecessary since you can use glTF directly as the deliver format of your assets.