Search Unity

Build memory usage

Discussion in 'PSM' started by Seiryu33, Mar 9, 2015.

  1. Seiryu33

    Seiryu33

    Joined:
    Dec 22, 2014
    Posts:
    35
    I am working on a 2d action/ platform and i'm encountering a memory usage error when i try to build it. My system has 3 Gb ram but I've heard Unity consume a huge amount of memory upon building apps. What can i do to reduce it? I'm using the free Psm version of Unity. I've tried changing the Sprite filter to Point but i don't know what else to do from there. Current resolution is 1024 but lowering it destroys the image files. How can i reduce memory use without reducing the quality of my images?
     
  2. blackbird

    blackbird

    Joined:
    Aug 9, 2011
    Posts:
    591
    compress the images , convert them to DTX make texture atlas ... avoid to use png images
     
  3. Seiryu33

    Seiryu33

    Joined:
    Dec 22, 2014
    Posts:
    35
    Thanks for the help. Which image format is the best use for image files?
     
  4. blackbird

    blackbird

    Joined:
    Aug 9, 2011
    Posts:
    591
    you can only convert to DTX in unity psm
     
  5. edgorat

    edgorat

    Joined:
    Apr 30, 2018
    Posts:
    1
    I build my game and found in the Editor Log the following:

    Build Report
    Uncompressed usage by category:
    Textures 12.8 mb 17.6%
    Meshes 0.0 kb 0.0%
    Animations 0.0 kb 0.0%
    Sounds 53.9 kb 0.1%
    Shaders 0.0 kb 0.0%
    Other Assets 36.6 kb 0.0%
    Levels 51.9 kb 0.1%
    Scripts 2.0 mb 2.8%
    Included DLLs 6.4 mb 8.9%
    File headers 16.4 kb 0.0%
    Complete size 72.4 mb 100.0%

    How can this sum result in 72.4 MB
     
  6. blackbird

    blackbird

    Joined:
    Aug 9, 2011
    Posts:
    591
    psm is no more supported , if you have any question you should post them on sony dev forum