12

It's 00:54. I'm supposed to wake up at 8.30AM. Not even tired. In front of my computer, with a frozen Visual Studio Code on the left screen and a frozen Madeon music on the right screen.
My CMS won't get compiled anymore, due to lack of memory. I have 16gb of RAM, gave it 4 of them, and it froze. If I give it less, it just won't compile. Why. I can't figure out wether if it's my code which has some memory leaks or if there's just too much JavaScript in it. What did fuck up? My code? React? Material-UI? The way I want to mix them all together? Maybe I just shouldn't have used React to cover up everything, and maybe I shouldn't have used Ruby on Rails the way I did.

Fuck.

What do I do now.

Comments
  • 1
    @Lahsen2016 I tried to comment lots of stuff but even running "webpack --watch" eventually dies miserably after a few minutes
  • 1
    @Lahsen2016 tried with 8gb, it goes forever. Currently, my life sucks dicks per dozens.
  • 0
    Latest vs code is causing me trouble on Ubuntu but works perfectly on Mac at work.
    It randomly freeze and only way is to close and open again.
    And that Ran out of file handlers is just lame, tracked it on GitHub and some dev was about to hit Ms dev hard for their answers 😓
  • 1
    @gitpush In my situation, I don't believe VSCode is the culprit, mainly because unlike Rubymine, it doesn't lag like there's no tomorrow.

    I thought a lot about all of this and I think I need to add Redux on the top of "everything", meaning I have to redo a loooooooooooot of stuff. If it doesn't work, I have one last trick in my sleeve before thinking of not using React at all, but fuck, it scares me.
  • 1
    @Drillan767 if you need any help with Redux I might be able to, I've been working with it for a year now and should be able to help out
  • 1
    @gitpush That would be welcomed AF *.*, I never touched even though I see it absolutely everywhere. My first priority is to comment everything out until it starts to work again, then I'll come back to you and this Redux thingy :)
  • 0
    @Drillan767 sure thing man, best of luck :D
  • 0
    Memtest
    Then the usual reboot update system and drivers and applications and etc reboot again. It's frustrating sometimes but when you get a different error that when you know you're narrowing it down.
  • 1
    as the saying goes, it is easy to stay awake until 5am than waking up that time :-D
  • 1
    @japzio I'm a fucking night owl. No one to annoy you, the cat sleeps on my shoulder, I have all the time in the world
Add Comment