Search Unity

PersistentManager.Remapper - how to optimize memory usage of it?

Discussion in 'iOS and tvOS' started by Thomas-Lund, Oct 8, 2013.

  1. Thomas-Lund

    Thomas-Lund

    Joined:
    Jan 18, 2008
    Posts:
    465
    (Cross post from support forum - sorry - might be more relevant in here and cannot delete the other)

    We are working on lowering memory usage of our game for iPad usage.

    In the profiler we can see that PersistentManager.Remapper eats 80 mb of memory.

    Does anyone know what this memory is used for, and how to optimize it? (Its been impossible to Google to even figure out what PersistentManager does)

    Thanks

    Best
    Thomas
     
  2. casperjeff

    casperjeff

    Joined:
    Apr 13, 2013
    Posts:
    333
    Did you ever get an answer on this? I too am trying to track this down...
     
  3. julian_cruz

    julian_cruz

    Unity Technologies

    Joined:
    Nov 21, 2016
    Posts:
    16
    The Remapper is responsible for tracking the relationships between objects in memory and their representations on disk, If your project is loading a lot of asset bundles, the remapper will store data in memory before the AssetBundle Unload. The implementation of remapper itself uses the memory pool. In order to free memory, you need to perform Unload operation after loading a certain number of AssetBundles.
     
    RecZappy likes this.