Displaying 2 results from an estimated 2 matches for "mem_err_heap".
2000 Apr 27
1
options(keep.source = TRUE) -- also for "library(.)" ?
> Subject: Re: [Rd] options(keep.source = TRUE) -- also for "library(.)" ?
> From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
> Date: 27 Apr 2000 14:37:01 +0200
>
> Martin Maechler <maechler@stat.math.ethz.ch> writes:
>
> > Can we [those of us who know how sys.source() works...]
> > think of changing this? As it was possible for the base
2011 Oct 05
1
Moderating consequences of garbage collection when in C
...,17 @@
R_gc_internal(0);
}
+void R_gc_needed(R_size_t size_needed)
+{
+ if (FORCE_GC || NO_FREE_NODES() || 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