10 MB limit?

Chris Muller chris at funkyobjects.org
Thu Mar 23 02:21:11 UTC 2006


This was my lame attempt, a looooong time ago, to "protect" the server from too-large a commit because it would take long time and a lot of memory and potentially "disrupt other users".  It also is there for "the spirit" of small and short transactions.  10MB is not going to be a short transaction.
  
 But your question is about loading of legacy models, which is not handled very well.  Most large models are accessed dynamically from disk, so committing them piecemeal is natural, but in your case you had a "medium" sized model that loads entirely into memory, just more than 10MB..  So I must admit I'm at a loss for the best way to handle it other than get rid of that check, and expect the commit to take quite a long time.
 
 Ma object serialization is the framework which serializes objects into first-class "Buffers".  These buffers are logical representations of Squeak objects, with 48-bit oids as well as other information.  Though they are less-compact than Squeaks native (physical) format, they permit essential server-side processing such as navigation, compression, browsing the model (without domain classes loaded) and more.  They are also crucial to future planned replication functions.
 
 If I were to point to the "core" of Magma, I would have to say it is these first-class buffers (MaObjectBuffer et al)..
 
  - Chris

----- Original Message ----
From: Bert Freudenberg <bert at impara.de>
To: magma at lists.squeakfoundation.org
Sent: Wednesday, March 22, 2006 7:56:11 AM
Subject: 10 MB limit?

I just tried to import an existing domain model into Magma, by giving
it as root when creating the repository. The models serialized size
was 6 MB before (using DataStream). However, the commit failed with a
notice that a commit must not be larger than 10 MB.

Now I worked around that problem by splitting the model and re-adding
parts in separate commits later, but wouldn't it be nice for a one-
time import to lift the limit? Why is it there?

- Bert -

_______________________________________________
Magma mailing list
Magma at lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/magma









More information about the Magma mailing list