.NETGURU
Application initialisation problems
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.performance.

Post a new message to this list...

Andy Rashbone
Hi there,
We have a large database application written in managed C++ which
loads 100+ managed c++ dlls. The app also includes some unmanaged
classes some of which has instances declared globally. However every
dll is compiled with managed extensions on.

We are encountering occasional initialisation problems when running
our app on a server with 3GB of RAM, which are not happening on our
dev machines. It seems that when SQLServer is using large amounts of
RAM (1.7GB+) our app starts to fail on startup, with the error (The
application failed to initialize properly (0x0000005). Click on OK to
terminate the application). There is ample RAM available to run our
app.

We think either the .NET framework is using too much RAM on startup,
or the garbage collection in our app is not working properly, from the
last time it ran.

We are also interested in the following post in this newsgroup ...

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=%23lmNvaibDHA.3520%40tk2msftngp13.phx.gbl

.... and are wondering if that has anything to do with it?

Can anyone shed any light on this issue?

Thanks in advance,
Andy
Reply to this message...
 
    
Andy Rashbone
We have since solved the problem... For future information, the
service pack SP1 for Framework 1.1 did the trick.

Thanks,
Andy
Reply to this message...
 
    
Raymond Lewallen
Dude, how did you end up with 100+ dlls? That's crazy. .Net likes to
manage larger and fewer assemblies, rather than smaller and numerous
assemblies. Perhaps you can combine some of those into larger assemblies
using namespaces.

Not that this has to do so much with your problem, but does seem like a
nightmare to maintain and update.

Raymond Lewallen

"Andy Rashbone" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Alvin Bruney [MVP]
could be a very large system. one system i worked on had 330 dlls. but you
are right, that is large and we did have 1500 people in the company.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Raymond Lewallen" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
Raymond Lewallen
And to think, I'm upset about having 15. :) Was it not for "policy", I
would probably re-design it down to 6. And only 5 of those 15 are larger
than 100 KB. Most of the smaller ones won't even pass the FxCop rule on
"namespaces shouldn't contain a small number of types". Again, policy
drives the reasoning behind that, not us software architects.

"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification