- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
A screenshot from youtube, Virbox
Eh… ship it. RAM is cheap.
“Uh, Boss, our customers are sending us the invoices for their RAM purchases.”
OMG I SHOULD HAVE DONE THAT TO JETBRAINS AND MICROSOFT FOR TEAMS
Also electron. Because somehow a full blown separate FF instance is more ram efficient than electron.
Well, Electron uses Chrome, so yes
That’s why I preallocate the max memory I will need just like I was taught to do in Fortran. You can’t leak what you don’t have.
Heap allocation failure > gradual memory leak
Checkmate atheists.
This is why I only allocate on the stack
People who are enthusiastic about using pointers in C++ are doing it wrong. Never use a pointer when you can get away with a reference.
For C++, yes. But “reference” is just a way of using the pointer when it comes to C
Sure, but that’s technically allocation-agnostic either way.
Based nasa compliant engineer
This guy gets it
Static allocation for the SIL ratings
Stack overflow intensifies
I only use the registers.
rip random amiga machine
The line causing the memory leaks is actually the lack of a line:
free()
.