This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DLL's in console applications


Sergey Okhapkin wrote:
> 
> Kees van Veen wrote:
> > But now it looks like every time an instance of the application starts,
> > all the DLL's are loaded again as well. The DLL's together amount to
> > about 10Mb, and this will increase in the future. My aim was to get them
> > to work as a sort of shared libraries.
> >
> 
> It just seems to you. The code segment of a dll shares between applications, but data segment is loaded for every app.
> 
>

Thanks Colin and Sergey for your response.

It seemed to me when looking at the performance tab in the task manager.
Every time I start a new instance of the application I see the memory
usage increase with about the size of the application.

Also the startup time of the application doesn't decrease when an
instance is already loaded. On Unix I'm used to wait a little longer the
first time to get the shared libraries loaded, and the second instance
to start up quickly. On NT I cannot say I notice this, altough I may be
short on memory here. 64Mb on a Pro 200 with NT server 4 S P3 is a
minimum configuration, I'm told.

Kees
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]