Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Dynlink and memory management
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Hans Ole Rafaelsen <hans@s...>
Subject: [Caml-list] Dynlink and memory management

I have a question with regard to memory management and using the
Dynlink module.

Is there some way to "unload" the code once you are done using it?  It
seems like a reference is kept to the loaded unit, thus it never gets
garbagecollected.  The Dynlink module does not seem to have any
functions which can be called to brake this reference.  Any trick to
brake this reference and make the loaded code garbage collected would
be appreciated.

Kindest regards,

Hans Ole Rafaelsen

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: