Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Opera / Chrome memory leak

Discussion in 'Web' started by Liszt, Aug 21, 2015.

  1. Liszt

    Liszt

    Joined:
    Jan 12, 2015
    Posts:
    29
    Hi,
    we recently try an export of our game to WebGL just to test the performance, fix any issue that don't match with WebGL generation.

    And we were quite surprise "NO ERROR" during the build everything was fine and our game worked well.
    But it was before testing it on multiple browser.

    On firefox, not even one issue during our test session (5-10 minutes)
    On Opera, all was fluid during 15-30second, after that our memory started to explode the roof! After reaching 6Go, the browser just shutdown and the computer was laggy for 3 or 5 minutes.
    On Chrome same thing happened.

    I didn't test it on IE (or Edge) and not on Safari too.

    The memory leak can be due to us ? or it's something in the browser WebGL code interpretation that just failed ?

    I know you display a message that say "your browser is not the best to test this build, etc..." but I expected at least some lags or display issues not a huge memory leak that blow my browser in 15-30seconds. :(

    Thanks in advance for your help.
     
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Hi,

    Just to clarify, do you see high memory consumption in Chrome/Opera after the initial loading once you are already in your game ?
    What does your game do ?