difference between MaDictionary and MagmaDictionary
Esteban Lorenzano
estebanlm at gmail.com
Tue Dec 14 20:54:10 UTC 2010
no, it is MaWeakIdentityKeyDictionary :(
(and my application is still crashing... today again)
cheers,
Esteban
El 14/12/2010, a las 5:32p.m., Chris Muller escribió:
> Esteban, check :
>
> MaObjectSerializerPreferences weakIdentityKeyDictionaryClass
>
> and make sure it answers " MaWeakIdentityKeyDictionary" and not
> anything with the word "Auto" in it.
>
> If it does, then:
>
> MaObjectSerializerPreferences weakIdentityKeyDictionaryClass:
> MaWeakIdentityKeyDictionary
>
> and restart your entire application (new server and sessions). See if
> your crashing goes away.
>
> - Chris
>
> On Tue, Dec 14, 2010 at 6:29 AM, Esteban Lorenzano <estebanlm at gmail.com> wrote:
>> mmm...
>> AFAIU the objective of using magma collections is to avoid the read/write of big collections.... and I have this structure:
>>
>> MaDictionary
>> key -> MagmaCollection (big)
>> key -> MagmaCollection (big)
>> key -> MagmaCollection (big)
>>
>> If I replace MaDictionary with Dictionary, I will be reading/writing the full dictionary each time I add an element to the dictionary... isn't?
>>
>> btw... I'm using an unique MagmaSession to connect to repository (no real need of other... no more than 3 users connected at the same time)... and the real reason I'm asking this is because my application continues crashing each one or two days, and I can't figure out what's happening :(
>> So, any "best practice" I can use would be really welcome (I'm a little bit lost here... I'm new to magma in production, used just for toy project before this :( )
>>
>> Cheers,
>> Esteban
>>
>> El 14/12/2010, a las 6:12a.m., Igor Stasenko escribió:
>>
>>> On 14 December 2010 01:40, Esteban Lorenzano <estebanlm at gmail.com> wrote:
>>>> Hi,
>>>> I wonder what's the difference between MaDictionary and MagmaDictionary... and which should I use... is indistinct?
>>>>
>>>
>>> I think you better do not use these dicts. They are mainly for
>>> internal use only.
>>> They are optimized for speed not for space. And taking part in keeping
>>> correspondence between
>>> objects stored in database and their ids.
>>>
>>>> Cheers,
>>>> Esteban_______________________________________________
>>>> Magma mailing list
>>>> Magma at lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/mailman/listinfo/magma
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko AKA sig.
>>
>> _______________________________________________
>> Magma mailing list
>> Magma at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/magma
>>
More information about the Magma
mailing list