Tag: Memory
What is a Memory Leak in C++ ?
In this article we will discuss what is Memory Leak C++ and why its harmful for applications. Memory Leak Advertisements Memory leak in is a kind of Bug that kills your application slowly by first making it slow and then eventually crashing it. How Does Memory Leak happens: Frequently Asked: What is a Memory Leak …
Handling Out Of Memory Errors in Code
In this article we will discuss how to Handle Out of Memory errors in a C++ Application. Each process has a limited free storage or heap associated with it for dynamic memory allocation. If application consumes all the memory from heap then process will crash with out of memory error. Advertisements Check out following example, …
Difference between delete & []delete and rise of Memory Leaks
In this article we will discuss the difference between delete &Â []delete and how mixing new [] with delete can give rise to Memory Leaks. To allocate memory dynamically on heap we use new[] operator i.e. Advertisements class Sample; Sample * ptrArr = new Sample[5]; Here new[] performs following operations internally, In first step, it …
Difference between delete & []delete and rise of Memory LeaksRead More
Python : Get List of all running processes and sort by highest memory usage
In this article we will discuss a cross platform way to get a list of all running processes in system and then sort them by memory usage. Python provides a cross platform library psutil to fetch sunning system details like process and system details. Advertisements How to install psutil python library To install psutil using …
Python : Get List of all running processes and sort by highest memory usageRead More
Most Affordable 16GB Internal Memory Phones in Nigeria and Prices
Here you’ll find the best cheapest 16GB ROM phones in Nigeria and their prices. Phones with 16GB internal memory are in high demand today but which are the best phones with 16GB internal storage in Nigeria?. When buying a new phone, internal storage is an important specification to consider because with a 16GB rom phone …
Most Affordable 16GB Internal Memory Phones in Nigeria and PricesRead More
Learn how to – How To Create Swap Space from File on Linux system
Learn how to – How To Create Swap Space from File on Linux system. How can I create Swap on Ubuntu / Debian / CentOS & Fedora Linux?. Swap space in Linux is used when the amount of physical memory (RAM) is depleted. The inactive pages in memory are moved to swap space when the …
Learn how to – How To Create Swap Space from File on Linux systemRead More