search for: mem_us

Displaying 5 results from an estimated 5 matches for "mem_us".

Did you mean: mem_os
2017 Jun 12
2
Possible with enableJIT function
...(2) y[1] <- x[1]^2 + x[2]^2 - 2 y[2] <- exp(x[1]-1) + x[2]^3 - 2 y } xstart <- c(x1=1.5,x2=2) nsims <- 10 for(test_iter in seq_len(nsims)){ z <- nleqslv(xstart,dslnex,jacobian=NULL) print(paste("nleqslv iteration",test_iter,"and memory used is",mem_used())) } memory.profile() gc() print(paste("At end memory used is", mem_used())) </code> The final output is <output> [1] "nleqslv iteration 1 and memory used is 28921288" [1] "nleqslv iteration 2 and memory used is 29133256" [1] "nleqslv iteration 3...
2017 Jun 13
0
Possible with enableJIT function
...2 > y[2] <- exp(x[1]-1) + x[2]^3 - 2 > y > } > xstart <- c(x1=1.5,x2=2) > nsims <- 10 > for(test_iter in seq_len(nsims)){ > z <- nleqslv(xstart,dslnex,jacobian=NULL) > print(paste("nleqslv iteration",test_iter,"and memory used is",mem_used())) > } > memory.profile() > gc() > print(paste("At end memory used is", mem_used())) > </code> > > The final output is > > <output> > [1] "nleqslv iteration 1 and memory used is 28921288" > [1] "nleqslv iteration 2 and memory...
2017 Jun 11
1
Memory leak in nleqslv()
...2.4 GB While running it with 10 iterations uses far less memory, only 95MB: Running it once has my rsession with 62Mb of use, so growth in memory allocation scales with iterations. Even after 1000 iterations, with 2+ GB of memory used by the R session, no large-sized objects are listed, although mem_use() shows 2+ GB of memory used. test_iter lambda res_ext reserves x_test 48 1648 1648 1648 3256 I've replicated this on OS-X and in Windows both on a desktop and a Surface Pro, however colleagues have run this on their machines and not found the same result....
2007 Aug 19
1
[PATCH 1/5] um/... convert #include "linux/..." to #include <linux/...>
...t;linux/blkpg.h> +#include <linux/genhd.h> +#include <linux/spinlock.h> +#include <linux/platform_device.h> +#include <asm/segment.h> +#include <asm/uaccess.h> +#include <asm/irq.h> +#include <asm/types.h> +#include <asm/tlbflush.h> #include "mem_user.h" #include "kern_util.h" #include "kern.h" diff --git a/arch/um/drivers/ubd_user.c b/arch/um/drivers/ubd_user.c index 41d254b..7e77fd5 100644 --- a/arch/um/drivers/ubd_user.c +++ b/arch/um/drivers/ubd_user.c @@ -15,7 +15,7 @@ #include <sys/socket.h> #include &l...
2007 Aug 19
1
[PATCH 1/5] um/... convert #include "linux/..." to #include <linux/...>
...t;linux/blkpg.h> +#include <linux/genhd.h> +#include <linux/spinlock.h> +#include <linux/platform_device.h> +#include <asm/segment.h> +#include <asm/uaccess.h> +#include <asm/irq.h> +#include <asm/types.h> +#include <asm/tlbflush.h> #include "mem_user.h" #include "kern_util.h" #include "kern.h" diff --git a/arch/um/drivers/ubd_user.c b/arch/um/drivers/ubd_user.c index 41d254b..7e77fd5 100644 --- a/arch/um/drivers/ubd_user.c +++ b/arch/um/drivers/ubd_user.c @@ -15,7 +15,7 @@ #include <sys/socket.h> #include &l...