Displaying 2 results from an estimated 2 matches for "num_old_generations".
2001 Feb 20
2
segfault
...nGenCollect (size_needed=2) at memory.c:1027
and the source listing points to FORWARD_CHILDREN(s); in the following section from
src/main/memory.c
#ifndef EXPEL_OLD_TO_NEW
/* scan nodes in uncollected old generations with old-to-new pointers */
for (gen = num_old_gens_to_collect; gen < NUM_OLD_GENERATIONS; gen++)
for (i = 0; i < NUM_NODE_CLASSES; i++)
for (s = NEXT_NODE(R_GenHeap[i].OldToNew[gen]);
s != R_GenHeap[i].OldToNew[gen];
s = NEXT_NODE(s))
FORWARD_CHILDREN(s);
#endif
I'm using
> version
_
platform sparc-sun-solaris2.6
arch sparc
os solaris2.6
sys...
2011 Oct 05
1
Moderating consequences of garbage collection when in C
...ES() || VHEAP_FREE() < size_needed) {
+ R_gc_internal(size_needed);
+ if (NO_FREE_NODES())
+ mem_err_cons();
+ if (VHEAP_FREE() < size_needed)
+ mem_err_heap(0);
+ }
+}
+
static void R_gc_full(R_size_t size_needed)
{
num_old_gens_to_collect = NUM_OLD_GENERATIONS;
--
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109
Location: M1-B861
Telephone: 206 667-2793