Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > Application Design > Memory Management

Memory Management

12 of 12     Previous     Next
How to Enable Java 9 GC Logs
by Ram Lakshmanan
Language: java, Expertise: Advanced - Learn more about how the release of Java 9 re-implemented GC logging using the Unified GC logging framework.
Quick Way to Reduce Outlook File (pst) Size
by Srinath M S
Language: Enterprise, Expertise: Intermediate - Lean how to clean up conversations in a folder including, or excluding, its sub folders./p>
Solving Eclipse (Ganymede) and PermGem Out-of-Memory Errors
by Leonard Anghel
If your Eclipse (Ganymede) installation with PermGem is raising out-of-memory errors, here's a possible solution.
Avoiding Unnecessary Object Construction
by Budi Bong
One way to avoid unnecessary object construction is to use a reference instead of an object to store the unnamed temporary object returned by value.
How to Calculate the Alignment in C++
by Alexander Ocher
Learn how to use the Alignment class to calculate alignment in C++.
Using the SecureString Class
by Srinath MS
NET 2.0's System.Security namespace includes the SecureString class, which lets you create encrypted strings and delete them from memory when they're no longer needed.
Avoid Memory Corruption when Assigning a CComBSTR to a CComVariant's bstrVal Member
by Alison Lomaka
Although the CComBSTR = operator is overloaded to make a copy of the string, this is not the case when assigning a CComVariant's bstrVal member to a CComBSTR.
Create Two-Dimensional Arrays in the Heap
by Arman Sahakyan
This code demonstrates how to create two-dimensional arrays in the heap.
The Added Benefit of Using New Instead of Malloc
by Pankaj Mishra
Not only does new allocate memory, it also calls the appropriate constructor.
Tracking Memory Leaks in Java
by Stephen Friend
Find out how you can track memory leaks in Java.
Protecting Freed Memory
by Sandesh Rane
Remember to be careful, when you're freeing memory, to set the memory contents to 0 so no other malicious program can read it after it's been freed.
Implementing the GetFreePhysicalMemory API in Linux
by Elsayed Elghadban
Because everything in Linux is composed of files, you can get any required information from the /proc/meminfo file.
12 of 12     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date