search for: r_max_memory

Displaying 1 result from an estimated 1 matches for "r_max_memory".

2018 Oct 01
1
unexpected memory.limit on windows in embedded R
...it doesn't mention a default 2GB limit, especially not on win64; - man page of memory.limit and rw-FAQ Q2.9 say that you can set the limit via --max-mem-size or R_MAX_MEM_SIZE env var: both work only in standalone R (Rf_initEmbeddedR ignores them); - R\src\gnuwin32\system.c defines R_size_t R_max_memory = INT_MAX; which is the reason of the 2GB default limit on embedded R; however INT_MAX is not the maximum integer value of an R_size_t variable either on win32 nor on win64; - line 879 of the same system.c source says: "/* set defaults for R_max_memory. This is set here so that embedded appl...