Skip to main content

Questions tagged [memory-usage]

16 votes
6 answers
10k views

So, the problem: When I run the same C++ code in Visual Studio, with the same input and parameters, I get either the correct output, or an output that is completely messed up (99% of values go to zero)...
babipsylon's user avatar
6 votes
2 answers
2k views

As mentioned in some StackOverflow posts (like this one), I'm dealing with a difficult situation: My company is developing some C# applications (being a client-server application). We have migrated ...
Dominique's user avatar
  • 1,844
-1 votes
1 answer
242 views

I'm trying to build a simple compiler for a subset of the C language in C. To achieve this, I needed to figure out a way to represent the grammar symbols. Basically, each symbol can either be a "...
Mehdi Charife's user avatar
3 votes
1 answer
104 views

I have a memory pool class that manages memory objects of fixed sizes, a bit like a primitive malloc() that can only return memory blocks of a few predefined sizes and unlike malloc() is guaranteed to ...
Mecki's user avatar
  • 2,390
8 votes
1 answer
702 views

So I'm aware there's some degree of timing-based logic in existing programming languages, like threads and the sleep() function (and derivatives thereof), as well as events / delegates. However, I was ...
Emerald47890's user avatar
-4 votes
1 answer
106 views

I am reading some data from USB, do some packet processing and then send the result to the Ethernet port. The USB ports are connected to an onboard USB Hub where it communicates with the ...
Kurtul's user avatar
  • 93
1 vote
2 answers
397 views

I have been coding some octave .oct files lately (C++), and for my purposes speed is of the essence. It seems to me that creating C++ objects (in general) can take some time. I was wondering if ...
mathreadler's user avatar
-2 votes
1 answer
1k views

I have a large hash, around 6 gigabytes that I load into memory. On my current laptop that I develop from, it really does a number on my system, causing massive amounts of lag while I try to go about ...
Anon's user avatar
  • 3,649

15 30 50 per page
1
2 3 4 5
7