Hang while commiting objects with attribute as MagmaCollection+index

Hilaire Fernandes hilaire at ofset.org
Sun Jan 6 22:08:02 UTC 2008


 From the commit:[] of my testcase, I have checked the prepared 
MaCommitPackage instances, its objects size is constant at 30 
objects/1137 bytes, even the one just before the hang.
The hang happens in :

	commitResult := self submit: ((MaWriteRequest new)
						package: commitPackage;
						beginAnother: aBoolean;
						yourself)


and this loop does not finish:

aMagmaRepositoryRequest waitCursor showWhile: [link submit: 
aMagmaRepositoryRequest]


I am pretty sure the problem is connected with the creation of indexes 
of the MagmaCollection.

Hilaire


Hilaire Fernandes a écrit :
> Chris Muller a écrit :
>>>                                         IFIModels users add: user].
>>
>> Well, there you go.  Isn't this referencing the entire, ever-growing
>> database all in memory?
> 
> Really? I agree about the idea an of ever-growing database but IFIModels 
> users just return the #users branch of the database, which is a 
> MagmaCollection. Nothing special there.
> 
> What is special is that the added user objects contain itself two 
> indexed Magma collections, and the problem is related to that because if 
> I remove this part there are no problem.
> 
> Do you have test covering this case usage?
> 
> I try to read your test, not very easy to follow.
> 
> Hilaire



More information about the Magma mailing list