<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: [LCP]Dynamic libraries and plugins</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>&gt; Then, as soon as you call dlopen on the file the whole thing will get</FONT>
<BR><FONT SIZE=2>&gt; mapped into memory, just the same as if you let it be </FONT>
<BR><FONT SIZE=2>&gt; automatically loaded</FONT>
<BR><FONT SIZE=2>&gt; with the program.&nbsp; So there isn't any real savings there.&nbsp; </FONT>
</P>

<P><FONT SIZE=2>Except if you unload it afterwards, in which case the</FONT>
<BR><FONT SIZE=2>different .so don't get loaded at the same time, so this</FONT>
<BR><FONT SIZE=2>saves memory (provided there is no instance where all</FONT>
<BR><FONT SIZE=2>are needed at the same time, of course).</FONT>
<BR><FONT SIZE=2>But then again, I'm not too sure about the effects on</FONT>
<BR><FONT SIZE=2>memory fragmentation this could have. Anyone ?</FONT>
</P>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Vincent Penquerc'h </FONT>
</P>

</BODY>
</HTML>