Wikitude
play_for_work
Forum
FAQ
Documentation
Download
wikitude.com
How can we help you today?
Enter your search term here...
Search
Start a new topic
Discussions
Wikitude SDK (Android, iOS, UWP)
3D Model Questions or Problems
Memory issue with 3D models
L
Luca
started a topic
over 8 years ago
Memory issue with 3D models
4 Comments
Oldest First
Popular
Newest First
Sorted by
Oldest First
L
Luca
said
over 8 years ago
Hi,
When I try to load more 3d models in the app, the app crashes because it reaches the memory limit (Terminated due to Memory Pressure).
This is the code I use to load and unload 3d models
Creating a model:
World.currentModel = new AR.Model("3d/"+World.markerNear.id+".wt3", {
onLoaded : function()
{
this.rotate.heading = 60.0;
this.translate.x = -10.0;
$("#loading").removeClass("loadingShow");
$("#loading").addClass("loadingNotShow");
}
});
Deleting a model
World.currentModel.destroy();
World.currentModel = null;
How can I solve this issue?
EDIT:
I also tried adding a clearCache command when I'm deleting the model, but nothing's changed.
L
Luca
said
over 8 years ago
Up please.
N
Nicola Radacher
said
over 8 years ago
Hi Luca,
Can you please update the SDK to version 4.0 which was launched yesterday and check if the behavior is fixed. You can download the SDK from
here
.
Should you need anything further, just let me know anytime.
Greetings
Nicola
L
Luca
said
over 8 years ago
Hi Nicola.
It seems to be solved with 4.0. Thanks
Login
or
Signup
to post a comment
More topics in
3D Model Questions or Problems
Question about wikitude studio
3D Model can't animate on Geo location
3D Modeling
KML upload won't save in world
Wikitude SDK 2.0: 3D content misplaced
3D lighting and material
.addCamDrawable() and 3D models
how to autorefresh a KML URL based world ?
3D model not showing in GPS sample
Problems AR.Model
See all 401 topics
© 2021 Wikitude, a Qualcomm company
Luca