hey guys, here's the issue,
Essentially, I have a very large List containing in turn relatively large Dictionaries
So basically, I have a very big in memory collection.
I then serialize this collection manually to XML, and send it over http. needless to say, the XML is too large, sometimes so large I get an OutOfMemory exception befor...
This may be slightly off-topic for a strictly programming site, but I'm interested in starting a software project or contributing to an existing project that can do what I'm proposing.
Now that SSD storage is becoming more popular, I am more interested in using one in my destop computer. Since they are very expensive per Gigabyte compa...
Anyone know of a good memory leak checker that supports GCC on Windows?
Unfortunately, IBM's Purify only works for GCC on Linux; and of course valgrind doesn't run on Windows.
...
I am looking for a free memory debugger for Windows, suited for debugging C++ applications built with VC, with similiar functionality to Insure++ or Purify.
Any recomendations?
GUI is a plus
Integration with VS is a bigger plus
...
I am using XCode 3.0 with iPhone SDK and have a small iPhone application that includes a unit test for sqlite, however I get "out of memory" when I run it. How do I trace root cause of the error?
Thanks.
...
On Ring Buffer's Wikipedia entry, there's example code showing a hack for UNIX systems whereby the adjacent virtual memory to a piece of memory is mapped to the same phbysical memory, thus implementing a ring buffer without the need for any memcpy, etc. I was wondering if there's a way to so something similar in Windows?
Thanks, Fraser
...
Hi guys -
Here's my problem:
I have a Flash swf that uploads files from local machine and if they are images it resizes them if needed. This involves creating a JPGEncoded bytearray from a bitmapData object. After im finished with the bitmapData I dispose() of it.
I am noticing that flash will get stuck while resizing an image someti...
I have this blank project, just to check out System.totalMemory variable. As far as I can see, i get this values:
3076
3092
3096
3088
3092
3096
3100
3104
3108
3112
3117
3121
3125
3129
3133
3137
3141
3145
3149
...
And so on
I had no Flash open, no Internet Browser, no other instance of flash.
The project is blank, only one static text...
What exactly do this instruction? I know that it try to align data with a multiple of a especific number but, why would you need to do this? Is there an equivalent instruccion in other assemblers?
...
What are some of the technical differences between memory that is allocated with the new operator and memory that is allocated via a simple variable declaration, such as int var? Does c++ have any form of automatic memory management?
In particular, I have a couple questions. First, since with dynamic memory you have to declare a pointer...
How can I list all instantiated objects in all application, using FASTMM4 or default memory manager?
...
Hey guys. I have a method that gets called each second which I want to use to display the time that my app has been doing it's work. Currently the class I'm using (Which I did not create) has a property named progress which stores the total number of seconds.
I have already written some code which takes these seconds and formats it into...
I just fixed a memory leak caused by someone forgetting to call the superclass's OnUnload in their override of it. The superclass version frees some resources (as does its superclass).
Are there external static analysis tools, or at least some kind of runtime trick I can do to detect this? With the ability to make an exception obviously...
As part of deployment process, I am starting an .net remoting windows forms application through the Cruisecontrol.Net (version 1.4.4) and getting insufficient memory exception while calling a document generation process. However, I am not getting the error if I run the windows forms application directly after logging into the server.
H...
Hello all, I've been brushing up on my C++ as of late, and I have a quick question regarding the deletion of new'd memory. As you can see below i have a simple class that holds a list of FileData *. I created an array to hold the FileData objects to be pushed into the list. When ReportData is destructed I loop through the list and delete...
I created a high memory utilization dump and using !dumpheap -stat and !dumpheap -mt I got the address of two large string generic list of 30 MB each.
I want to know more about these lists. What they contain or which piece of code is using them.
Is there a way to find them out?
0:000> !do 2b370038
Name: System.Object[]
MethodTable: 7...
Hello all.
I have a Java web application that works a lot with file conventions.
I am using Tomcat 6 as my servlet container. When many requests are submitted, Tomcat becomes very memory hungry. I wonder how I can fine-tune tomcat to reduce the memory consumption.
I am also considering changing my servlet container.
What do you suggest? ...
Is there a way to tell Windows that it shouldn't swap out a particular processes' memory to disk?
Its a .Net windows service with fairly large memory usage. I got lot of physical RAM but the OS seems to move part of the process memory to the pagefile anyway.
...
Possible Duplicate:
Programming slim C++ programs (like uTorrent) for Windows
uTorrent has always impressed me with its 270KB executable and small memory footprint while competing with similar tools which are 30 times its size. I can think of several other tools on my computer that could use such a "debloated" version.
What met...
A friend of mine was asked, during a job interview, to write a program that measures the amount of available RAM. The expected answer was using malloc() in a binary-search manner: allocating larger and larger portions of memory until getting a failure message, reducing the portion size, and summing the amount of allocated memory.
I beli...