Hi, I recently began outbalancing our host instance memory usage because we had a lot of throttling problems.
Now I used performance counters to view the memory usage of each host instance.
And I also used a tool called the MsgBoxViewer to get to see which ports/locations/orchestrations run per host instance.
Now I was wondering if the...
I have a memo text type of field in a SQL 2000 database that my users really want to start seeing an audit trail on.
No way am I going to store copies of this field. Some of the records they dump in it are so big they run out of space in it already.
I could write it myself, but I imagine someone has already written some tool that coul...
I am debugging a program that fails during a low memory situation and would like a C++ program that just consumes LOT of memory. Any pointers would help!
...
I'm pretty sure I'm overlooking something totally obvious, but I want to view the raw contents of a point in memory under MSVC9, but I can't find a location in the UI where I can punch in a memory address. How can this be done?
...
Hi,
I've been experiencing memory problems (the app will run for a couple of iterations, then receive low memory warning and finally be terminated) while working with NSInvocationOperation in a method called repeatedly by a NSTimer.
The method will be called every 1/4 of a second and I've narrowed down the source of the problem to the ...
Hi all, Im currently building a php framework... again.
I have a class called config.
its pretty simple, its called like so:
$conf = config::get('general');
$conf is now an array full of config goodies.
the class sceleton is like so:
final class config {
private static $configs = array();
public static function get($name) {
ret...
I'm investigating a memory leak and from what I see, the problem looks like this:
int main(){
char *cp = 0;
func(cp);
//code
delete[] cp;
}
void func(char *cp){
cp = new char[100];
}
At the //code comment, I expected cp to point to the allocated memory, but it still is a null pointer meaning I never delete the mem...
My Grails application is running in a development environment. I still didn't go into production, but in any case, is it normal that my Grails application is requiring 230 MB at startup only (with an empty bootstrap and no request handled so far)?
Do you know why this is the case, how to improve memory usage in development mode and, mos...
i want to know maximum cache size limit for firefox? when i do about:cache i can directly access videos seen,
i usually see adobe tv, so what maximum cache limit?is it unlimited or what?
...
Is there any advantage in doing bitwise operations on word boundaries? Any CPU or memory optimization in doing so?
Actual problem:
I am trying to create XOR of two structure. Lets say structure-1 and structure-2 both of same size 10000 bytes. I leave first few hundreds bytes as it is and then start XOR of 1 and 2.
Lets say I start with...
I've been reading Ulrich Drepper's, "What every programmer should know about memory" and in section 3.3.2 Measurements of Cache Effects ( halfway down the page ) it gives me the impression that accessing any member of a struct causes the whole struct to get pulled into the CPU cache.
Is this correct? If so, how does the hardware know a...
Objective-C: I need help retaining the value of an int. It's changing on me without my command.
The original question was: "How do you declare and retain an int?", that was satisfied in another post here: http://stackoverflow.com/questions/1938513
Now I have a problem where an int that was 18 is changing to 2, somehow on its own.
Her...
There are software applications, such as ArtMoney, that edit the memory of other applications.
Is there a way to detect when some other application is editing the memory of my application?
...
Hi,
I am having issue with memory after running many times my app.
java.lang.OutOfMemoryError: bitmap size exceeds VM budget
I figure I was leaking memory somehow so I did a DUMP HPROF file and used the MAT tool to figure out what was wrong.
It turns out that after running like 5 times the app and quiting, I find 5 instances of my Ac...
Hi
I developed an application that uses lots of images on android.
The app runs once, fills the information on the screen (Layouts, Listviews, Textviews, ImageViews, etc) and user reads the information.
There is no animation, no special effects or anything that can fill the memory.
Sometimes the drawables can change. Some are android r...
My web service client application uses Apache CXF to generate client stubs for talking to several web services. The generated CXF web service stub objects have quite a large memory footprint (10 - 15 web service objects take more than 64 MB of memory). Is there any way to reduce the CXF object footprint?
...
Ill try to explain my situation as best as I can, sorry if it is not too clear...
I have a Viewport3D that contains some large 3d rectangles that are like big crystals.
When the user click on one of the crystals, I add a new material to the crystal in the spot the use clicked using an ImageBrush. I then iterate over a list of bitmaps (...
Hello,
I am using following code in my application to read the string value from database:
objPlayer.playerName = [NSString stringWithUTF8String:(char *)sqlite3_column_text(selectstmt, 2)];
When I run the Instruments to find memory leaks it gives me NSCFString leaks at above line.
What should I do, please help me.
Regards,
Pratik
...
(btw. This refers to 32 bit OS)
SOME UPDATES:
This is definitely an alignment issue
Sometimes the alignment (for whatever reason?) is so bad that access to the double is more than 50x slower than its fastest access.
Running the code on a 64 bit machine cuts down the issue, but I think it was still alternating between two timing (of wh...
-Xms is to specify initial heap size or minimum heap size?
I see lot of places with lot of different answers. Some like second answer here, say that it is for initial heap and some like here say that its minimum heap size.
Or is it that the minimum size itself is the initial size?
...