Hi,
we have a use case where the ObjectSwapper loads many objects from an external file. I noticed during profiling that around 30 to 40 percent of the needed runtime in that use case are caused by deleting memory segments in the ObjectSwapper. I already tried to do the deletion in batches, but that didn't change the needed time. My next idea was to reuse the EsMemorySegments instead of deleting and recreating them all the time. But as this involves the memory of the virtual machine, I guess this will cause trouble with the memory structure management outside my Smalltalk world.
Can someone tell me whether "reusing" of memory segments is possible (and if so, under which conditions) or does someone have another idea of how to avoid that heavy memory segment creation and deletion?
Ciao and Thanks, Michael