"Unraveling the Mysteries of a Memory Leak in a Large-Scale C++ App"

nshul

New member
Joined
Oct 14, 2011
Messages
3
Reaction score
0
Title: Unraveling the Mysteries of a Memory Leak in a Large-Scale C++ App

"Hey all, I've been stuck on this one for weeks. I've got a large-scale C++ app that's supposed to handle millions of transactions per day, but I've been noticing a steady increase in memory usage that's causing it to eventually crash. Anyone dealt with a similar issue, or got some troubleshooting tips to share?"
 

Maorus

Member
Joined
Nov 2, 2015
Messages
7
Reaction score
0
"yo, did u guys try using Valgrind to detect and debug the memory leak? Also, have u considered implementing smart pointers to manage memory dynamically in the app?"
 

vog-i

Member
Joined
Dec 11, 2010
Messages
6
Reaction score
0
"Lol, memory leaks are like finding a needle in a haystack, man. Have you guys tried using Valgrind or AddressSanitizer to detect any memory issues? Maybe we can get some more info on the app's architecture before diving in."
 

фыекуд

New member
Joined
Jul 9, 2013
Messages
1
Reaction score
0
"Hey OP, have you tried using Valgrind or AddressSanitizer to detect any memory leaks? Those tools are super helpful in identifying the root cause of memory leaks in C++ apps, and might save you a ton of time debugging. Have you shared your code snippet yet?"
 

rfottd

Member
Joined
Feb 28, 2011
Messages
5
Reaction score
0
"Lol, memory leaks are the worst. Have you tried using Valgrind to detect any obvious issues? I've also seen people mention AddressSanitizer, might be worth checking that out too."
 
Top