[elephant-devel] Berkeley DB error: Cannot allocate memory.
Victor Kryukov
victor.kryukov at gmail.com
Fri Jan 4 07:12:00 UTC 2008
Hello list,
I've decided to put elephant 0.9.1 under some heavy load test, and
play with Netflix data set a little bit. The attached program that
tries to import everything in BerkeleyDB fails when trying to import
movie file number 8 with the following traceback. Do you have any idea
what could be the problem?
Thanks,
Victor.
Berkeley DB error: Cannot allocate memory
[Condition of type BDB-DB-ERROR]
Restarts:
0: [ABORT-REQUEST] Abort handling SLIME request.
1: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: ((SB-PCL::FAST-METHOD (SETF GET-VALUE) (T T DB-BDB::BDB-BTREE))
#<unavailable lambda list>)
1: ((LAMBDA NIL))
2: ((SB-PCL::FAST-METHOD ELEPHANT::EXECUTE-TRANSACTION
(DB-BDB::BDB-STORE-CONTROLLER #1="#<...>" . #1#)) #<unavailable
argument> #<unavailable argument> #<BDB-STORE-CONTROLLER
/home/victor/netflix/db/> #<CLOSURE (LAMBDA NIL) {1003DC2359}>)
3: (IMPORT-ALL-MOVIES)
4: (SB-INT:SIMPLE-EVAL-IN-LEXENV (IMPORT-ALL-MOVIES) #<NULL-LEXENV>)
5: (SWANK::EVAL-REGION "(import-all-movies)
" T)
6: ((LAMBDA NIL))
7: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS (T))
#<unused argument> #<unused argument> #<CLOSURE (LAMBDA NIL)
{100403F959}>)
8: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA NIL) {100403F959}>)
9: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(import-all-movies)
") #<NULL-LEXENV>)
10: ((LAMBDA NIL))
11: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T
T)) #<unused argument> #<unused argument> #<FUNCTION
SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {100403F049}>)
12: ((LAMBDA NIL))
13: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T
T)) #<unused argument> #<unused argument> #<FUNCTION
SWANK:SWANK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA NIL) {10028DAF69}>)
14: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {1002EFB1E1}>
#<CLOSURE (LAMBDA NIL) {100403C2F9}>)
15: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {1002EFB1E1}>
#<FUNCTION (LAMBDA NIL) {10028DAF69}>)
16: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {1002EFB1E1}>)
17: (SWANK::PROCESS-AVAILABLE-INPUT #<SB-SYS:FD-STREAM for "a socket"
{1002EE6A01}> #<CLOSURE (LAMBDA NIL) {100403C279}>)
18: ((FLET SWANK::HANDLER))
19: ((LAMBDA (SWANK-BACKEND::_)) #<unused argument>)
20: (SB-IMPL::SUB-SERVE-EVENT NIL NIL NIL)
21: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL)
22: (SB-IMPL::REFILL-INPUT-BUFFER #<SB-SYS:FD-STREAM for "standard
input" {1002393801}>)
23: (SB-IMPL::INPUT-CHAR/UTF-8 #<SB-SYS:FD-STREAM for "standard
input" {1002393801}> NIL #:EOF-OBJECT)
24: (READ-CHAR #<SB-SYS:FD-STREAM for "standard input" {1002393801}>
NIL #:EOF-OBJECT #<unused argument>)
25: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {100014AEB1}>
NIL #:EOF-OBJECT #<unused argument>)
26: (READ-CHAR #<SYNONYM-STREAM :SYMBOL
SWANK::*CURRENT-STANDARD-INPUT* {1002384001}> NIL #:EOF-OBJECT
#<unused argument>)
27: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL
SWANK::*CURRENT-STANDARD-INPUT* {1002384001}> NIL (NIL) T)
28: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL
SWANK::*CURRENT-STANDARD-INPUT* {1002384001}> NIL (NIL) NIL)
29: (READ #<SYNONYM-STREAM :SYMBOL SWANK::*CURRENT-STANDARD-INPUT*
{1002384001}> NIL (NIL) NIL)
30: (SB-IMPL::REPL-READ-FORM-FUN #<SYNONYM-STREAM :SYMBOL
SWANK::*CURRENT-STANDARD-INPUT* {1002384001}> #<unavailable argument>)
31: (SB-IMPL::REPL-FUN NIL)
32: (SB-IMPL::REPL-FUN NIL)
33: ((LAMBDA NIL))
34: ((LAMBDA NIL))
35: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {100386A4D9}>)
36: (SB-IMPL::TOPLEVEL-REPL NIL)
37: (SB-IMPL::TOPLEVEL-INIT)
38: ((LABELS SB-IMPL::RESTART-LISP))
--
Yours Sincerely,
Victor Kryukov
Chicago GSB class of 2008
773-618-9501
More information about the elephant-devel
mailing list