search for: 213529

Displaying 3 results from an estimated 3 matches for "213529".

Did you mean: 21352
2016 Nov 10
2
Memory leak with tons of closed connections
Dear All, I'm developing an R application running inside of a Java daemon on multiple threads, and interacting with the parent daemon via stdin and stdout. Everything works perfectly fine except for having some memory leaks somewhere. Simplified version of the R app: while (TRUE) { con <- file('stdin', open = 'r', blocking = TRUE) line <- scan(con,
2016 Nov 11
0
Memory leak with tons of closed connections
...r',blocking=TRUE);line<-scan(con,what=character(0),nlines=1,quiet=TRUE);close(con);rm(con);a <- gc(); i <- i+1; if(i %% 1000 == 1) {cat('i=',i,'\\n'); print(a)} }" 11059 i= 1 used (Mb) gc trigger (Mb) max used (Mb) Ncells 83216 4.5 10000000 534.1 213529 11.5 Vcells 172923 1.4 16777216 128.0 562476 4.3 i= 1001 used (Mb) gc trigger (Mb) max used (Mb) Ncells 83255 4.5 10000000 534.1 213529 11.5 Vcells 172958 1.4 16777216 128.0 562476 4.3 ....... ............................................... ................................
2016 Nov 11
2
Memory leak with tons of closed connections
...line<-scan(con,what=character(0),nlines=1,quiet=TRUE);close(con);rm(con);a <- gc(); i <- i+1; if(i %% 1000 == 1) {cat('i=',i,'\\n'); print(a)} }" > > 11059 > i= 1 > used (Mb) gc trigger (Mb) max used (Mb) > Ncells 83216 4.5 10000000 534.1 213529 11.5 > Vcells 172923 1.4 16777216 128.0 562476 4.3 > i= 1001 > used (Mb) gc trigger (Mb) max used (Mb) > Ncells 83255 4.5 10000000 534.1 213529 11.5 > Vcells 172958 1.4 16777216 128.0 562476 4.3 > ....... > ..............................................