KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
malloc
64 questions · page 1 of 2
Follow Tag
Sort by:
Newest
Votes
Active
25
votes
2
answers
What does "malloc_trim(0)" really mean?
malloc
glibc
trim
sbrk
asked 2013-03-20T16:46:19.500
8
votes
3
answers
When malloc returns, what does 8-byte alignment mean?
c
memory-management
malloc
asked 2013-03-14T23:46:04.273
13
votes
5
answers
C - Check currently available free RAM?
c
memory-management
memory-leaks
malloc
c99
asked 2013-01-17T19:44:23.513
9
votes
3
answers
What is the Best Practice for malloc?
c
char
malloc
asked 2012-12-31T09:43:20.907
59
votes
4
answers
Xcode Guard Malloc and on Device Debugging: 'libgmalloc.dylib' image not found
xcode
malloc
asked 2012-11-15T11:47:00.090
13
votes
3
answers
Malloc vs custom allocator: Malloc has a lot of overhead. Why?
c
memory
malloc
asked 2012-10-25T08:45:38.890
17
votes
6
answers
How do I free a pointer returned from a function?
c
memory
dynamic
malloc
free
asked 2012-08-09T22:32:12.110
8
votes
4
answers
Malloc or normal array definition?
c
arrays
malloc
asked 2012-06-28T08:44:34.760
68
votes
3
answers
Free memory allocated in a different function?
c
pointers
memory-management
malloc
free
asked 2012-06-17T12:11:30.860
8
votes
2
answers
Using jemalloc in existing huge code
memory
malloc
profiler
asked 2012-06-08T09:44:49.833
9
votes
3
answers
Efficiency: char array vs int array
c
arrays
string
malloc
data-representation
asked 2012-05-20T01:59:12.827
88
votes
2
answers
What are the differences between (and reasons to choose) tcmalloc/jemalloc and memory pools?
c
linux
memory
malloc
tcmalloc
asked 2012-03-26T03:08:35.037
44
votes
5
answers
Can I assume that calling realloc with a smaller size will free the remainder?
c
malloc
free
realloc
asked 2012-03-05T22:36:53.140
12
votes
8
answers
Which allocation is faster ? malloc vs local variable
c
linux
gcc
malloc
asked 2012-03-05T09:07:23.513
22
votes
1
answers
Call to malloc failing in gdb session
c
gdb
malloc
asked 2012-02-10T00:01:23.520
21
votes
7
answers
C API design: what to do when malloc returns NULL?
c
malloc
api-design
asked 2012-01-29T03:13:50.527
33
votes
6
answers
Allocate memory and save string in c
c
string
malloc
free
asked 2011-12-22T06:30:04.830
11
votes
2
answers
NUMA aware cache aligned memory allocation
linux
caching
pthreads
malloc
numa
asked 2011-11-16T15:29:53.297
9
votes
5
answers
Malloc header contents
c
malloc
asked 2011-10-10T18:55:53.993
8
votes
4
answers
C - Malloc and memcpy (memory management)
c
struct
malloc
memcpy
asked 2011-10-08T17:11:18.120
12
votes
7
answers
When should I use free() in C?
c
malloc
free
asked 2011-09-13T04:46:29.577
42
votes
1
answers
What is the name of the header file that contains the declaration of malloc?
c++
c
malloc
asked 2011-09-03T09:14:11.837
9
votes
6
answers
how can i know the allocated memory size of pointer variable in c
c
pointers
size
memory-management
malloc
asked 2011-08-26T08:38:34.700
9
votes
4
answers
How can I store a value at a specific location in the memory?
c++
c
memory
malloc
new-operator
asked 2011-07-12T08:04:20.783
56
votes
6
answers
Overriding 'malloc' using the LD_PRELOAD mechanism
c
malloc
dynamic-linking
ld-preload
asked 2011-05-21T16:03:14.553
9
votes
4
answers
Problem with free() on structs in C. It doesn't reduce memory usage
c
memory-management
struct
malloc
free
asked 2011-05-14T23:05:15.527
65
votes
4
answers
Dynamically create an array of strings with malloc
c
arrays
malloc
asked 2011-05-09T11:00:25.390
15
votes
4
answers
checking that `malloc` succeeded in C
c
malloc
asked 2011-04-09T19:50:16.607
13
votes
5
answers
Returning a malloc pointer
c
struct
malloc
asked 2011-03-31T00:51:00.153
21
votes
7
answers
Aligned memory management?
c
memory-management
malloc
alignment
realloc
asked 2011-02-21T01:12:17.270
13
votes
4
answers
In a 64 bit process, will my mmap / malloc request ever be denied?
c
memory-management
operating-system
malloc
mmap
asked 2011-02-07T15:33:35.673
10
votes
6
answers
making your own malloc function?
c
malloc
asked 2011-01-16T04:20:31.807
26
votes
4
answers
In multithreaded C/C++, does malloc/new lock the heap when allocating memory
c++
multithreading
malloc
openmp
asked 2010-12-24T05:33:50.877
9
votes
3
answers
glib memory allocation VS std *alloc and free
c
performance
memory
malloc
glib
asked 2010-10-28T09:25:10.083
27
votes
4
answers
What is aligned memory allocation?
malloc
memory-alignment
asked 2010-10-22T05:05:10.320
17
votes
8
answers
How malloc works?
c
malloc
asked 2010-10-17T16:46:08.917
23
votes
6
answers
Scope of malloc used in a function
c
malloc
asked 2010-09-02T16:21:52.477
52
votes
4
answers
Why does C++ require a cast for malloc() but C doesn't?
c++
c
malloc
asked 2010-08-13T14:22:06.520
13
votes
2
answers
new, delete ,malloc & free
c++
memory-management
malloc
free
new-operator
asked 2010-07-06T06:57:33.957
14
votes
6
answers
In C are malloc(256) and malloc(sizeof(char)*256) equivalent?
c
pointers
malloc
sizeof
asked 2010-07-01T22:10:32.887
14
votes
2
answers
Allocate executable ram in c on linux
c
linux
malloc
asked 2010-06-26T22:47:07.743
47
votes
8
answers
Malloc and constructors
c++
constructor
malloc
lifetime
placement-new
asked 2010-06-08T06:02:45.967
11
votes
5
answers
Taming the malloc/free beast -- tips & tricks
c
malloc
free
asked 2010-05-12T08:04:29.497
16
votes
2
answers
How can I declare and initialize an array of pointers to a structure in C?
c
null
pointers
malloc
structure
asked 2010-04-15T01:14:55.033
35
votes
5
answers
Is there a need to check for NULL after allocating memory, when kernel uses overcommit memory
memory
malloc
android-ndk
asked 2010-02-12T01:09:02.957
38
votes
7
answers
Allocating memory for a Structure in C
c
malloc
structure
asked 2010-02-01T14:38:17.580
53
votes
9
answers
What does malloc(0) return?
c
linux
pointers
malloc
realloc
asked 2010-01-25T12:47:03.377
22
votes
6
answers
allocate matrix in C
c
pointers
matrix
malloc
asked 2010-01-24T20:43:16.197
168
votes
16
answers
What's the point of malloc(0)?
c
malloc
asked 2010-01-07T17:43:14.017
24
votes
17
answers
Why do you specify the size when using malloc in C?
c
memory-management
malloc
asked 2009-08-06T19:47:36.587
page 1 of 2
Next →