[elephant-devel] Memory error with Elephant
Petter Egesund
Petter.Egesund at kunnskapsforlaget.no
Fri Aug 18 18:41:02 UTC 2006
Hi; I am trying to use Elephant, version 0.6 with Sbcl 0.9.15, Suse 9 on
a AMD64 - I have only installed the DBD-backend - Berkley DB 4.3.29
Everything seems to compile fine (also the .so-files). When I try to do
some simple things, I get a heap error from my Lisp. Any clues (dump is
below)?
Looks like a cool system, though...
Cheers,
Petter Egesund
-----------
; SLIME 2006-04-20
CL-USER> (asdf:operate 'asdf:load-op :ele-bdb)
; loading system definition from /home/pe/.sbcl/systems/ele-bdb.asd into
; #<PACKAGE "ASDF0">
; loading system definition from /home/pe/.sbcl/systems/uffi.asd into
; #<PACKAGE "ASDF1">
; registering #<SYSTEM UFFI {1002F52CD1}> as UFFI
; registering #<SYSTEM ELE-BDB {1003561681}> as ELE-BDB
; loading system definition from /home/pe/.sbcl/systems/elephant.asd
into
; #<PACKAGE "ASDF0">
; registering #<SYSTEM ELEPHANT {10026B72A1}> as ELEPHANT
STYLE-WARNING: implicitly creating new generic function PERSISTENT-SLOTS
STYLE-WARNING:
implicitly creating new generic function OLD-PERSISTENT-SLOTS
STYLE-WARNING:
implicitly creating new generic function UPDATE-PERSISTENT-SLOTS
STYLE-WARNING: implicitly creating new generic function INDEXED-RECORD
STYLE-WARNING: implicitly creating new generic function
OLD-INDEXED-RECORD
STYLE-WARNING:
implicitly creating new generic function UPDATE-INDEXED-RECORD
STYLE-WARNING:
implicitly creating new generic function MAKE-NEW-INDEXED-RECORD
STYLE-WARNING: implicitly creating new generic function
REMOVED-INDEXING?
STYLE-WARNING:
implicitly creating new generic function REGISTER-INDEXED-SLOT
STYLE-WARNING:
implicitly creating new generic function UNREGISTER-INDEXED-SLOT
STYLE-WARNING:
implicitly creating new generic function REGISTER-DERIVED-INDEX
STYLE-WARNING:
implicitly creating new generic function UNREGISTER-DERIVED-INDEX
STYLE-WARNING: implicitly creating new generic function
PREVIOUSLY-INDEXED
; loading system definition from /home/pe/.sbcl/systems/cl-base64.asd
into
; #<PACKAGE "ASDF0">
; registering #<SYSTEM CL-BASE64 {1003A48E91}> as CL-BASE64
; registering #<SYSTEM CL-BASE64-TESTS {1003024751}> as CL-BASE64-TESTS
; loading system definition from /home/pe/.sbcl/systems/kmrcl.asd into
; #<PACKAGE "ASDF0">
; registering #<SYSTEM KMRCL {10034067D1}> as KMRCL
STYLE-WARNING: implicitly creating new generic function GET-CON
STYLE-WARNING:
implicitly creating new generic function CONTROLLER-PROPERTIES
STYLE-WARNING: implicitly creating new generic function SET-ELE-PROPERTY
STYLE-WARNING: implicitly creating new generic function GET-ELE-PROPERTY
STYLE-WARNING:
implicitly creating new generic function ENSURE-MARKED-VERSION
STYLE-WARNING: implicitly creating new generic function
CONTROLLER-VERSION
STYLE-WARNING: implicitly creating new generic function UP-TO-DATE-P
STYLE-WARNING: implicitly creating new generic function UPGRADABLE-P
STYLE-WARNING: implicitly creating new generic function UPGRADE
STYLE-WARNING:
implicitly creating new generic function FLUSH-INSTANCE-CACHE
STYLE-WARNING: implicitly creating new generic function DROP-POBJECT
STYLE-WARNING: implicitly creating new generic function MAP-BTREE
STYLE-WARNING: implicitly creating new generic function EMPTY-BTREE-P
STYLE-WARNING: implicitly creating new generic function
CLASS-INDEX-CACHED?
STYLE-WARNING:
implicitly creating new generic function DETERMINE-SYNCH-METHOD
STYLE-WARNING: implicitly creating new generic function SET-DB-SYNCH
STYLE-WARNING: implicitly creating new generic function
INDEXED-SLOT-WRITER
STYLE-WARNING:
implicitly creating new generic function CLASS-INDEXEDP-BY-NAME
STYLE-WARNING:
implicitly creating new generic function FIND-INVERTED-INDEX-NAMES
STYLE-WARNING: implicitly creating new generic function
WIPE-CLASS-INDEXING
STYLE-WARNING: implicitly creating new generic function
COPY-BTREE-CONTENTS
STYLE-WARNING: implicitly creating new generic function
BUILD-BTREE-INDEX
NIL
CL-USER> (use-package "ELE")
T
CL-USER> (open-store '(:BDB "/home/pe/testdb3"))
#<SLEEPYCAT::BDB-STORE-CONTROLLER {10039F4BE1}>
CL-USER> (add-to-root "my key" "my value")
"my value"
CL-USER> (get-from-root "my key")
Heap exhausted: 8520368128 bytes available, 468151435328 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"
{10035112F1}>)
Backtrace:
0: (SB-KERNEL::HEAP-EXHAUSTED-ERROR 8520368128 468151435328)
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 ELEPHANT::%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:EVAL-IN-LEXENV (GET-FROM-ROOT "my key") #<NULL-LEXENV>)
-------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20060818/3fa250a8/attachment.html>
More information about the elephant-devel
mailing list