Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005708 [Croquet] Hedgehog major always 01-07-07 21:17 01-07-07 21:17
Reporter howardstearns View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0005708: makePointer creates uncollectable garbage memory leak
Description CroquetEvent>>makePointer creates a TRay on-island. This is used with dynamic extent by several of the event handlers which occur quite frequently.

However, TRay is a TFrame and so it gets registered in the (strong Dictionary) island nameMap. So the TRay/pointers never get garbage collected.

This prevents long-lived Croquet sessions.
Additional Information Wisconsin-hrs.118 defines some KSDKEvent subclasses of CroquetEvent that immediately does an #unregister: of the TRay/pointer. TIsland>>unregister: is in the *Wisconsin-SDK extention category.

This hack works only because nothing in our application tries to future send to the TRay/pointer from the ocean. But it isn't a general solution. That may require either a (hard) fix to 3298, or a redesign of event handling.
Attached Files

- Relationships
child of 0003298confirmed  futureSend futures never go away 

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
01-07-07 21:17 howardstearns New Issue
01-07-07 21:17 howardstearns Relationship added child of 0003298

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
32 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker