15
veradra
7y

Please bug test your websites heavily. Don't be like this.
Should be mentioned, under normal circumstances this never hits more than 500 MB (still way too much for what it is). However, I somehow got the website to absolutely shit itself and cause this amazing sight to behold (2.6GB/4GB used by the website alone.)

I believe this was caused by some poorly coded JavaScript, subsequently causing a memory leak.

(Yeah I have 2 browsers open so what?)
(Also taken with a shitty camera then also edited. Lost the original because I'm an idiot.)

Comments
  • 2
    What website?
  • 5
    Wouldn't be the first website mining crypto currency in the background...
  • 0
    @hilmifuadi piktochart.
    Had to use it for a project.
  • 0
    @10110 this one wasn't mining crypto, at least from what I could tell. Effectively no CPU usage and these things only have integrated graphics.
  • 2
    WHAT
    HOW CAN YOU EVEN
    WHAT CODE DO YOU HAVE TO WRITE TO TAKE 2.6 GB
  • 2
    @PrivateGER memory leak from looping, not the code itself
  • 1
    @hilmifuadi Still, that's just bad. How did that get through testing?
  • 5
    Take a 5k list and slam it in the dom. Put in said list elements a dropdown with 100 items. And paint it in the dom all the time.
    Now add some wiggly willy effects in js.

    Here you are!

    Nowadays frontend dev are not required to know complexity notation and whatsover after all.

    And yes I am a frontend dev
Add Comment