[elephant-devel] (get-from-root "key") results in "Heap exhausted" error

Joubert Nel joubert at joubster.com
Sun Oct 29 22:12:52 UTC 2006


Hi,

I've just started using Elephant and have run into a "Heap exhausted" error
message when I try to retrieve a key's value from the root. I am doing:

	(add-to-root "first" "joubert")
	(get-from-root "first")

After the 2nd expression I get the results as per the attachment.

I'm running with the following config:
	Elephant 0.6.0
	cl-base64 3.3.2
	uffi 1.5.17
	BerkeleyDB 4.3
	SBCL 0.9.17
	SUSE Linux 10.1 AMD64.

I presume this is related to my earlier post from today and something to do 
with running on x86_64.

Any pointers?

Regards
Joubert
-------------- next part --------------
Heap exhausted: 8522182656 bytes available, 455266533424 requested. PROCEED WITH CAUTION!
   [Condition of type SB-KERNEL::HEAP-EXHAUSTED-ERROR]

Restarts:
  0: [ABORT-REQUEST] Abort handling SLIME request.
  1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {10030C4CA1}>)

Backtrace:
  0: (SB-KERNEL::HEAP-EXHAUSTED-ERROR 8522182656 455266533424)
  1: ("foreign function: call_into_lisp")
  2: ("foreign function: funcall2")
  3: ("foreign function: gc_heap_exhausted_error_or_lose")
  4: ("foreign function: gc_find_freeish_pages")
  5: ("foreign function: gc_alloc_large")
  6: ("foreign function: alloc_tramp")
  7: ((LABELS %DESERIALIZE) #<unavailable argument>)
  8: ((SB-PCL::FAST-METHOD GET-VALUE (T SLEEPYCAT::BDB-BTREE)) #<unavailable argument> #<unavailable argument> #<unavailable argument> #<unavailable argument>)
  9: (SB-INT:SIMPLE-EVAL-IN-LEXENV (GET-FROM-ROOT "first") #<NULL-LEXENV>)
 10: (SWANK::EVAL-REGION "(get-from-root \"first\")
" T)
 11: ((LAMBDA NIL))
 12: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS (T)) #<unused argument> #<unused argument> #<CLOSURE (LAMBDA NIL) {10026C6AA9}>)
 13: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA NIL) {10026C6AA9}>)
 14: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(get-from-root \"first\")
") #<NULL-LEXENV>)
 15: ((LAMBDA NIL))
 16: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) #<unused argument> #<unused argument> #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {10026C60E9}>)
 17: ((LAMBDA NIL))
 18: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) #<unused argument> #<unused argument> #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA NIL) {10038F0D99}>)
 19: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {100277F2E1}> #<CLOSURE (LAMBDA NIL) {10026C5E49}>)
 20: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {100277F2E1}> #<FUNCTION (LAMBDA NIL) {10038F0D99}>)
 21: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {100277F2E1}>)
 22: ((LAMBDA NIL))
 23: ((LAMBDA NIL))
 24: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) #<unused argument> #<unused argument> #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {10030DF169}>)
 25: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {100277F2E1}> #<CLOSURE (LAMBDA NIL) {10030DF189}>)
 26: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {100277F2E1}> #<CLOSURE (LAMBDA NIL) {10030DF169}>)
 27: (SWANK::CALL-WITH-BINDINGS NIL #<CLOSURE (LAMBDA NIL) {10030DF129}>)
 28: ((LAMBDA NIL))
 29: ("foreign function: call_into_lisp")
 30: ("foreign function: new_thread_trampoline")


More information about the elephant-devel mailing list