Git Product home page Git Product logo

Comments (2)

kircher1 avatar kircher1 commented on May 18, 2024 1

This may actually be an out-of-memory issue. I've seen this behave like the app has locked up before, although typically it simply crashes the application.

We will be addressing memory and GC usage over the next couple of versions so stay tuned for that as it should significantly reduce overall app memory usage and help avoid OOM conditions. In the meantime, you can try lowering the Quality setting to the minimum value. If the app runs longer without locking up, it's almost certainly a memory usage problem.

For the warning message, this is currently expected on Android. We will be bringing support though for platform specific GPU texture formats (like ETC and ASTC) which will remove this warning message and sidestep the additional work Unity is doing to decode this to a larger RGB format. In general, I'm using #18 to track this.

from mapssdk-unity.

kircher1 avatar kircher1 commented on May 18, 2024

0.7.0 is out now and will help further reduce memory usage.

If you still run into these OOM-esque lockups, try lowering the maximum cache size to something smaller.

It is possible to query memory limits for an Android application and then compute a cache size for the map based on some smaller factor of that. See here. For setting the cache size programmatically, just be sure it's applied to the MapRenderer component before it has been enabled, as after that, cache size changes won't have an affect.

from mapssdk-unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.