Lisp HUG Maillist Archive

Allocating very large, long-lived hash tables (64bit LLW)

Hi,

Where would be the best place to allocate a very large (possibly multiple GB)long-
lived (probably permanent) hash table in 64bit LW (on Linux)? And what might be
the general memory management considerations in such a situation, beyond the
obvious ones?

So, if I have a function MAKE-BIG-HASH-TABLE I assume I could simply do something
like this:

(sys:apply-with-allocation-in-gen-num :other 3 'make-big-hash-table :test #'equal)

Thanks,
Chris

RE: Allocating very large, long-lived hash tables (64bit LLW)

Given the 256MB limit on most sectors can I allocate it as :other-big? Docs state that's only for a large simple vector.


From: relativeflux@hotmail.co.uk
To: lisp-hug@lispworks.com
Subject: Allocating very large, long-lived hash tables (64bit LLW)
Date: Wed, 3 Apr 2013 17:18:34 +0100

Hi,

Where would be the best place to allocate a very large (possibly multiple GB)long-
lived (probably permanent) hash table in 64bit LW (on Linux)? And what might be
the general memory management considerations in such a situation, beyond the
obvious ones?

So, if I have a function MAKE-BIG-HASH-TABLE I assume I could simply do something
like this:

(sys:apply-with-allocation-in-gen-num :other 3 'make-big-hash-table :test #'equal)

Thanks,
Chris

Re: Allocating very large, long-lived hash tables (64bit LLW)

Unable to parse email body. Email id is 12210

Updated at: 2020-12-10 08:35 UTC