Top "Memory" questions

Use this tag for memory management or issues in programming.

How much memory can a 32 bit process access on a 64 bit operating system?

On Windows, under normal circumstances a 32 bit process can only access 2GB of RAM (or 3GB with a special switch …

windows memory wow64
Stack Memory vs Heap Memory

Possible Duplicate: What and where are the stack and heap I am programming in C++ and I am always wondering …

c++ memory
How is malloc() implemented internally?

Can anyone explain how malloc() works internally? I have sometimes done strace program and I see a lot of sbrk …

c memory malloc system-calls sbrk
How to list processes attached to a shared memory segment in linux?

How do I determine what process is attached to a shared memory segment? awagner@tree:/home/awagner$ ipcs -m ------ …

linux memory memory-management shared
Delete all objects in a list

I create many object then I store in a list. But I want to delete them after some time because …

python object memory del
How do I release memory used by a pandas dataframe?

I have a really large csv file that I opened in pandas as follows.... import pandas df = pandas.read_csv(…

python pandas memory
Which is faster: Stack allocation or Heap allocation

This question may sound fairly elementary, but this is a debate I had with another developer I work with. I …

c++ performance memory stack heap
General guidelines to avoid memory leaks in C++

What are some general tips to make sure I don't leak memory in C++ programs? How do I figure out …

c++ memory memory-management raii
Is the sizeof(some pointer) always equal to four?

For example: sizeof(char*) returns 4. As does int*, long long*, everything that I've tried. Are there any exceptions to this?

c++ c pointers memory sizeof
Python subprocess.Popen "OSError: [Errno 12] Cannot allocate memory"

Note: This question was originally asked here but the bounty time expired even though an acceptable answer was not actually …

python linux memory