Tagged Questions

Use this tag for memory management or issues in programming. For questions about memory hardware issues or errors in general software, go to http://superuser.com, or http://serverfault.com if this is related to enterprise-level hardware or software.

What's faster? I just made a web scraper that uses HTML Agility pack and it's consuming massive amounts of memory.
Profiling it with a memory profiler, I found that the HTMLDocument, HTMLNode, etc, ...

I know it is a very basic question. I have read memory management from Wikipedia and couple of MSDN pages. But still I'm not sure how does below processing happens during a program execution.
When I ...

I have my IIS 6 running my website. It is on a Windows Server 2003 which has 4GB of RAM. I run SQL intensive code after the user submits a form (math statistics stuff). This process is not threaded ...

I've always believed that GCC would place a static const variable to .rodata segments (or to .text segments for optimizations) of an ELF or such file. But it seems not that case.
I'm currently using ...

I've researched through most of the methods available to find out how much memory a java process is really using, at all.
So far, I can say I know the total memory allocated could be one or more of ...

I'm trying to create an app to read QR codes using Monotouch and C# port of Zxing but I'm hitting memory issues. While the app processes captured screen frames the app receives memory warnings and is ...

I'm writing some code in CUDA (Huffman algorithm to be exact, but it's totally irrelevant to the case). I've got a file Paralellel.cu with two functions: one (WriteDictionary) is an ordinary function, ...

If I execute a kernel that uses a small piece of constant memory, then write to that constant memory while the kernel is running, does the kernel immediately see the change, or is the contents of the ...

am using noHistory in the android manifest but my memory keeps building up and eventually is making my app crash, basically what am doing is having buttons allowing user to navigate left and right and ...

I have a bit of a problem at how to synchronize 2 processes. First process must create a shared memory, then wait for the second process to fill the shared memory and signalize it back to the first ...

I'm toying around with creating a pure Java audio mixing library, preferably one that can be used with Android, not entirely practical but definitely an interesting thing to have. I'm sure it's been ...

My project - RAM speed testing utilite.
So I used MOVSD (as MOV with the biggest size block DW) to read some memory from one source and write to another. But the results that I got display that RAM ...

I have a table containing roughly 300k rows describing devices for Apple's Push Notification service. I use Doctrine 2 as an ORM.
Inserting devices is no problem, however, retrieving them is a whole ...

I want to run several REST web applications inside one Java process to save memory and scale easily with help of Akka. I would like to estimate how much memory each request handler consume and detect ...

when I try to start ENV_RAILS=production rails c (or a rake task) some process killer on the server kills the process after a few seconds because it uses more than 400mb of physical memory. Now I need ...

I recieved "recieved memory warning" when I was debugging my application via Xcode Device Debugger. My app doesn't seem to be consuming that much memory, so I wanted to look at Instruments tool for ...

We have a server that securely sends a key to the client via a custom login program. The key is subsequently used for encrypting further client requests. That key is kept on the client's disk, like ...

I want to track the native heap in my application.
I opened DDMS from /tools sdk's folder, as I saw in tutorials, and I do see the
"Native Heap" tab.
However when I press the "Update heap" Icon, the ...