gpvigano/AsImpL

iOS memory Usage

shyam-appymonkeys opened this issue · 2 comments

When importing objs during runtime on an iPad, the memory doesn't get cleared after the import is completed.

On the Unity Editor, the profiler says that the memory usage goes back down after the obj is done importing. This doesn't happen on the iPad. It just stays at a high value even after the import is done.

This is causing issues as if a user imports multiple large objects, the app crashes due to Out Of Memory.

I think this issue seems to be related to issue #43.
Sorry, I don't know a solution right now, I hope some suggestion will come from the developer community.

In this commit I implemented a solution for memory leaks (see issue #43), please let me know if this works for you. Thanks.