By tag: Memory
0
kicks
VMMap - awesome memory analysis tool
VMMap is a process virtual and physical memory analysis utility.
0
kicks
DateTime.Now Causes Boxing
Have you known that every time you call DateTime.Now the BCL causes a dynamic memory allocation due to unnecessary boxing?
This post dives into the implementation of the property, explain why this boxing occurs, and what can we do to in order to avoid id
0
kicks
Jetbrains DotTrace Discount Profiler
I have been able to secure a 10% Discount Coupon for Jet Brains DotTrace .NET Memory Profiler for readers of my blog. I have been using Dot Trace for some time now and find it invaluable for tracking down memory leaks and potential performance bottlenecks in your code.
0
kicks
Pushing the Limits of Windows: Physical Memory
This is the first blog post in a series I'll write over the coming months called Pushing the Limits of Windows that describes how Windows and applications use a particular resource, the licensing and implementation-derived limits of the resource, how to measure the resource’s usage, and how to diagn...
0
kicks
Increasing the Size of your Stack (.NET Memory Management: Part 3)
Following from my previous post on the topic of stack allocation, in this post I talk about three different ways to change a thread's stack size in C#. Each of these techniques have advantages and disadvantages which I discuss as well.
This post may also be of interesting to those learning about...
0
kicks
How to: Optimize the memory usage with strings
System.String type is used in any .NET application. We have strings as: names, addresses, descriptions, error messages, warnings or even application settings. Each application has to create, compare or format string data. Considering the immutability and the fact that any object can be converted to ...
0
kicks
Measure memory consumption of creating object in C#
Measure memory consumption of creating object or executing functions in C#
A detailed look at benchmarking the memory footprint and the execution speed of functions.
0
kicks
String Concatenation vs Memory Allocation
Over the years, plenty has been written about string performance, lots of comparisons between String.Concat and StringBuilder. Today I decided to do some of my own research into the subject and contribute to the knowledge already out there. More specifically, I'll be taking a look at the memory usag...
0
kicks
Managing unmanaged memory
The title of this post might seem confusing. Garbage Collector (or GC) in .Net is designed to take care of managed memory only, so what do you do in a case where you have a managed object that itself takes very small amount of memory but allocates significant amount of unmanaged resources? In that c...
0
kicks
Developers Memory Problems with C++
I have described some problems that meet any c++ developer and how get over it,
0
kicks
Event Properties - Memory Efficient Events
Description of how to define events in a more memory efficient way.
0
kicks
Memory in .NET - what goes where
A lot of confusion has been wrought by people explaining the difference between value types and reference types as "value types go on the stack, reference types go on the heap". This is simply untrue (as stated) and this article attempts to clarify matters somewhat.