Sidechat icon
Join communities on Sidechat Download
Im almost at my wits end with software. Shit that should be so simple always turns into a multi day project. Was trying to use a NodeJS project from GH and it kept crashing because apparently NodeJS limits itself to 4GB of RAM... in fucking 2026
upvote 6 downvote

default user profile icon
Anonymous 2d

In another instance I was attempting to use GDB to debug a basic program and just kept getting GDB has encountered an internal error followed by GDB itself segfaulting. So instead of doing what l actually was trying to do I wasted several days trying to debug the debugger but still got nowhere and eventually just said fuck it and gave up.

upvote 6 downvote
default user profile icon
Anonymous 2d

I bought this $1200 system that uses a webapp to configure its settings with the phone browser but it just repeatedly crashes and fails to load so it's stuck on the default settings and I can't change anything. I don't understand how someone can make a full stack self driving system that can plug into any car and work but can't make a simple fucking settings page that works to configure the damn thing. I'm ready to sell all my tech and live in the fucking woods. Too fucking frustrating.

upvote 4 downvote
default user profile icon
Anonymous 2d

What in god’s name is using that much memory?! Run the script like this: node --max-old-space-size=6144 yourFile.js Or run this beforehand and it’ll stay for the rest of the shell session:

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 2d

export NODE_OPTIONS=--max_old_space_size=6144

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 2d

One line ^

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 2d

If you link the repo I might see if I get some free time to figure out why in god’s name it needs this much memory 😭

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 2d

I have tried that yes. It didn't work lmao It is a NodeJS app to decompile QT .rcc resource files and dump the images out of them. I dumped the firmware of my car's dashboard and it is a 300MB QT file I am trying to decompile and it just dies after about 10 minutes of trying -_-

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 2d

https://github.com/nekiro/Nekiro-Rcc-Editor This one

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 2d

Although I ended up finding another program to do it on some Russian forum so not that big of a deal now

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 2d

I dread having to work with a NodeJS project because I know nothing about it and run into these dumb ass issues every time I try to use it and it's infuriating

upvote 1 downvote
default user profile icon
Anonymous replying to -> OP 2d

Ohhhh ok that makes more sense, but 4 GB is still wild 😭 glad you got it figured out though

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 2d

Yeah the program I ended up using to extract them sucked up 12 GB of RAM but it did in fact finally spit out the images lmao

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 2d

Why in gods name people insist on writing stuff in JavaScript outside of a browser I have no idea. But I seriously wish they would stop.

upvote 1 downvote
default user profile icon
Anonymous replying to -> OP 2d

Electron’s not TERRIBLE but sometimes it seriously sucks. You have to make sure you’re not doing something wrong with it. There’s a project I worked on a little bit a few years ago called Tauri that is like Electron, but the apps are WAY smaller, use way less memory, and are more secure

upvote 1 downvote
default user profile icon
Anonymous replying to -> OP 2d

I honestly am not sure what went wrong here. I looked at the code really quick and the only thing that might be an issue is that it looks like they’re trying to pass buffers between the Electron main and renderer processes. Unless something has changed in the last few years idk if that’s possible 😅 and if there are a ton of them, yeah, you’ll probably run out of memory

upvote 1 downvote
default user profile icon
Anonymous replying to -> OP 2d

Did you do npm run start? Or download and run one of the releases?

upvote 1 downvote
default user profile icon
Anonymous replying to -> #1 2d

I downloaded the release and then just ran it with the command they gave. Glad it makes sense to you because I had no idea what I was looking at lol. Once I finally got them out though it was like almost 1000 images in 4K resolution, as every animation was apparently saved as individual frames... which also seems like poor design but typical from an auto manufacturer

upvote 1 downvote
default user profile icon
Anonymous replying to -> OP 2d

It seems like it was extracting them fine but it was when it went to go render all of their previews in the GUI is when it died

upvote 1 downvote
default user profile icon
Anonymous replying to -> OP 2d

Oh hmm. Yeah it’s probably a ton of data to hold onto or something

upvote 1 downvote