simonsays1980

Error with bigmemory package

Aug 30th, 2011
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 2.21 KB | None | 0 0
  1. system.time(simuFunctionSeq(0.03, 0.015, 1, 5, 1000, 100,"/Users/simon/Documents/R/BigMTest"))
  2.    system.time(simuFunctionPar(0.03, 0.015, 1, 5, 1000, 100,"/Users/simon/Documents/R/BigMTest"))
  3. [1] "Sequential Processing with N =  1000  and K =  100"
  4.    user  system elapsed
  5.   5.157   0.086   5.587
  6. [1] "Parallel Processing with N =  1000  and K =  100"
  7.    user  system elapsed
  8.   6.069   0.220   3.895
  9.  
  10. :> system.time(simuFunctionSeq(0.03, 0.015, 1, 5, 10000, 100,"/Users/simon/Documents/R/BigMTest"))
  11.    system.time(simuFunctionPar(0.03, 0.015, 1, 5, 10000, 100,"/Users/simon/Documents/R/BigMTest"))
  12. [1] "Sequential Processing with N =  10000  and K =  100"
  13.    user  system elapsed
  14.   8.129   0.689  12.747
  15. [1] "Parallel Processing with N =  10000  and K =  100"
  16.    user  system elapsed
  17.   8.387   0.772  12.005
  18.  
  19. :> system.time(simuFunctionSeq(0.03, 0.015, 1, 5, 10000, 1000,"/Users/simon/Documents/R/BigMTest"))
  20.    system.time(simuFunctionPar(0.03, 0.015, 1, 5, 10000, 1000,"/Users/simon/Documents/R/BigMTest"))
  21. [1] "Sequential Processing with N =  10000  and K =  1000"
  22.    user  system elapsed
  23.  71.295   6.330 109.656
  24. [1] "Parallel Processing with N =  10000  and K =  1000"
  25.    user  system elapsed
  26.  50.943   6.347  89.115
  27.  
  28. :> system.time(simuFunctionSeq(0.03, 0.015, 1, 5, 100000, 1000,"/Users/simon/Documents/R/BigMTest"))
  29.    system.time(simuFunctionPar(0.03, 0.015, 1, 5, 100000, 1000,"/Users/simon/Documents/R/BigMTest"))
  30. [1] "Sequential Processing with N =  1e+05  and K =  1000"
  31. R(578,0xad2032c0) malloc: *** mmap(size=800002048) failed (error code=12)
  32. *** error: can't allocate region
  33. *** set a breakpoint in malloc_error_break to debug
  34. R(578,0xad2032c0) malloc: *** mmap(size=800002048) failed (error code=12)
  35. *** error: can't allocate region
  36. *** set a breakpoint in malloc_error_break to debug
  37. Error in  as.big.matrix(apply(apply(trade, 2, diff), 2, rev), backingpath = backingpath,  :
  38.   error in evaluating the argument 'x' in selecting a method for function 'as.big.matrix': Error in apply(apply(trade, 2, diff), 2, rev) :
  39.   error in evaluating the argument 'X' in selecting a method for function 'apply': Error: cannot allocate vector of size 762.9 Mb
  40.  
  41. Timing stopped at: 16.944 15.807 296.723
Advertisement
Add Comment
Please, Sign In to add comment