This thesis has been a study in memory management in C/C++, with practical work in finding and solving memory leaks in a large project. A background theory of C++ and memory management has been presented along with the memory problems that can arise in development in C/C++. Several topics in minimizing memory problems with using inbuilt C++ libraries and the Boost libraries have also been presented. There is also an overview of the PLC-Opt 2.2 Beta application and its inner workings. The method was to learn all about memory management and solve the memory leaks in PLC-Opt. The results showed that there were approximately 28.000 instances of memory leaks and the end result showed that approximately 700 instances of leaks remained unresolved. A list with clues of the remaining memory leaks was provided in the Future work chapter.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:hv-4450 |
Date | January 2012 |
Creators | Suopanki, Peter |
Publisher | Högskolan Väst, Institutionen för ingenjörsvetenskap |
Source Sets | DiVA Archive at Upsalla University |
Language | English |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Page generated in 0.0021 seconds