[Seaside] Seaside 2.8 under load (There is no free space in thisset!)

Lukas Renggli renggli at gmail.com
Thu Oct 11 19:57:09 UTC 2007


> I seem to have fixed it, I found an old thread where someone mentioned
> #hash, so I looked and I was using a custom biz object as a key into a
> dictionary.  I think I was a bit careless with overriding #= and #hash and
> had maybe done something wrong.  I changed the key to a string instead of a
> custom object and the error seems to have gone away.  Haven't had an error
> in the last hour and a half since pushing this out.

Glad you found the bug.

"There is no free space in this set!" usually happens when an object
within a set or as key of a dictionary changes its hash. Rehashing the
set/dictionary helps, but usually the hash should not depend on
mutable values.

"There is no free space in this set!" occasionally happened in earlier
versions of Seaside, because the backtracking screwed up some internal
data structure of the set/dictionary/bag.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list