[Borges-users] memory still a problem

Слепнев Владимир slepnev_v at rambler.ru
Wed Apr 14 23:32:55 EDT 2004


The memory issues in Borges are still puzzling me. 

The easiest way to recreate the problem is this: component A on user 
request creates and calls a new component B, which is able to answer. 
But it doesn't answer because the user hits 'Back'. Then the user hits 
the same link again to create and call another instance of component 
B. Then back again, and so on. The memory allocated for new instances 
of B apparently never gets freed. (If we set component B's will_answer 
to false, the problem seems to go away.)

I've spent the last two days experimenting and trying to solve the 
puzzle. No success. The continuation/session/snapshot/GC interaction 
is pretty hard to understand... even though I think I understand now 
how the thing works, I can't find the flaw. Anyone?

Vladimir Slepnev


More information about the Borges-users mailing list