473,803 Members | 3,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

registry size and the GAC

Bob
My question about how to add an assembly search path to VS.NET's IDE remains
unanswered, but I'm still faced with a problem possibly associated with
this: my exported registry is more than 67MB. This seems much too large to
be normal, even for a developer's machine.

I've read in places that "it's not recommended that you register assemblies
in the GAC when developing addins", yet the instructions for adding a path
the IDE configuration are for an XML file that looks nothing like the 2003
version, so whenever I revision my controls DLL, I have to re-register it
(and a couple of other DLL's) into the GAC and delete the old ones
(manually, from C:\Windows\Asse mbly) if I want my addin to work with the
updated control set. Since these DLL's are registered to COM, I strongly
suspect that the numerous adds and deletes of these DLL's to and from the
GAC have contributed to runaway registry bloat. But I'm not sure where to
even look to find out.

I looked at some registry "compaction " tools, which appear to be little more
than defragmenters. They show that most of the space actually does contain
data. Well, I have to blow all the unnecessary stuff away and if it's got
anything to do with COM I'm out of my realm of expertise. Could someone help
me with this one?

TIA,
Bob
Nov 20 '05 #1
4 1390
My exported registry is 68.4 meg.. so, whats wrong with the size?
"Bob" <no****@nowhere .com> wrote in message
news:eM******** *****@TK2MSFTNG P10.phx.gbl...
My question about how to add an assembly search path to VS.NET's IDE remains unanswered, but I'm still faced with a problem possibly associated with
this: my exported registry is more than 67MB. This seems much too large to
be normal, even for a developer's machine.

I've read in places that "it's not recommended that you register assemblies in the GAC when developing addins", yet the instructions for adding a path
the IDE configuration are for an XML file that looks nothing like the 2003
version, so whenever I revision my controls DLL, I have to re-register it
(and a couple of other DLL's) into the GAC and delete the old ones
(manually, from C:\Windows\Asse mbly) if I want my addin to work with the
updated control set. Since these DLL's are registered to COM, I strongly
suspect that the numerous adds and deletes of these DLL's to and from the
GAC have contributed to runaway registry bloat. But I'm not sure where to
even look to find out.

I looked at some registry "compaction " tools, which appear to be little more than defragmenters. They show that most of the space actually does contain
data. Well, I have to blow all the unnecessary stuff away and if it's got
anything to do with COM I'm out of my realm of expertise. Could someone help me with this one?

TIA,
Bob

Nov 20 '05 #2
Two questions:

What causes so large a registry

Doesn't a large registry slow down loading programs using registered DLL's and/or data stored in the registry? Wouldn't the search time to find these things increase with the number of registry entries?
--
Dennis in Houston
"Ray Cassick (Home)" wrote:
My exported registry is 68.4 meg.. so, whats wrong with the size?
"Bob" <no****@nowhere .com> wrote in message
news:eM******** *****@TK2MSFTNG P10.phx.gbl...
My question about how to add an assembly search path to VS.NET's IDE

remains
unanswered, but I'm still faced with a problem possibly associated with
this: my exported registry is more than 67MB. This seems much too large to
be normal, even for a developer's machine.

I've read in places that "it's not recommended that you register

assemblies
in the GAC when developing addins", yet the instructions for adding a path
the IDE configuration are for an XML file that looks nothing like the 2003
version, so whenever I revision my controls DLL, I have to re-register it
(and a couple of other DLL's) into the GAC and delete the old ones
(manually, from C:\Windows\Asse mbly) if I want my addin to work with the
updated control set. Since these DLL's are registered to COM, I strongly
suspect that the numerous adds and deletes of these DLL's to and from the
GAC have contributed to runaway registry bloat. But I'm not sure where to
even look to find out.

I looked at some registry "compaction " tools, which appear to be little

more
than defragmenters. They show that most of the space actually does contain
data. Well, I have to blow all the unnecessary stuff away and if it's got
anything to do with COM I'm out of my realm of expertise. Could someone

help
me with this one?

TIA,
Bob


Nov 20 '05 #3
I guess things might be delayed a bit when the registry gets large.. but I
can't believe that when something needs to be found that the entire registry
has to be searched through to get at it. It seems to me that there has to be
some type of indexing scheme.
"Dennis" <De****@discuss ions.microsoft. com> wrote in message
news:E5******** *************** ***********@mic rosoft.com...
Two questions:

What causes so large a registry

Doesn't a large registry slow down loading programs using registered DLL's and/or data stored in the registry? Wouldn't the search time to find these
things increase with the number of registry entries? --
Dennis in Houston
"Ray Cassick (Home)" wrote:
My exported registry is 68.4 meg.. so, whats wrong with the size?
"Bob" <no****@nowhere .com> wrote in message
news:eM******** *****@TK2MSFTNG P10.phx.gbl...
My question about how to add an assembly search path to VS.NET's IDE

remains
unanswered, but I'm still faced with a problem possibly associated with this: my exported registry is more than 67MB. This seems much too large to be normal, even for a developer's machine.

I've read in places that "it's not recommended that you register

assemblies
in the GAC when developing addins", yet the instructions for adding a path the IDE configuration are for an XML file that looks nothing like the 2003 version, so whenever I revision my controls DLL, I have to re-register it (and a couple of other DLL's) into the GAC and delete the old ones
(manually, from C:\Windows\Asse mbly) if I want my addin to work with the updated control set. Since these DLL's are registered to COM, I strongly suspect that the numerous adds and deletes of these DLL's to and from the GAC have contributed to runaway registry bloat. But I'm not sure where to even look to find out.

I looked at some registry "compaction " tools, which appear to be little
more
than defragmenters. They show that most of the space actually does
contain data. Well, I have to blow all the unnecessary stuff away and if it's got anything to do with COM I'm out of my realm of expertise. Could

someone help
me with this one?

TIA,
Bob


Nov 20 '05 #4
Bob
And there's my argument for using a real, if stripped-down, relational
database for the registry instead of a flatfile. But I hear they're
experimenting with that in Longhorn.

My information is apparently dated. Last time I paid attention to total
registry size 14MB was a little big. Nearly 70 megs is normal? That just
blows my mind. Guess I don't need to worry about cleaning it up if that's
normal.

Bob

"Ray Cassick (Home)" <rc************ @enterprocity.c om> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
I guess things might be delayed a bit when the registry gets large.. but I
can't believe that when something needs to be found that the entire registry has to be searched through to get at it. It seems to me that there has to be some type of indexing scheme.
"Dennis" <De****@discuss ions.microsoft. com> wrote in message
news:E5******** *************** ***********@mic rosoft.com...
Two questions:

What causes so large a registry

Doesn't a large registry slow down loading programs using registered DLL's
and/or data stored in the registry? Wouldn't the search time to find these things increase with the number of registry entries?
--
Dennis in Houston
"Ray Cassick (Home)" wrote:
My exported registry is 68.4 meg.. so, whats wrong with the size?
"Bob" <no****@nowhere .com> wrote in message
news:eM******** *****@TK2MSFTNG P10.phx.gbl...
> My question about how to add an assembly search path to VS.NET's IDE
remains
> unanswered, but I'm still faced with a problem possibly associated
with > this: my exported registry is more than 67MB. This seems much too large to > be normal, even for a developer's machine.
>
> I've read in places that "it's not recommended that you register
assemblies
> in the GAC when developing addins", yet the instructions for adding
a path > the IDE configuration are for an XML file that looks nothing like
the
2003 > version, so whenever I revision my controls DLL, I have to
re-register
it > (and a couple of other DLL's) into the GAC and delete the old ones
> (manually, from C:\Windows\Asse mbly) if I want my addin to work with the > updated control set. Since these DLL's are registered to COM, I strongly > suspect that the numerous adds and deletes of these DLL's to and
from
the > GAC have contributed to runaway registry bloat. But I'm not sure
where
to > even look to find out.
>
> I looked at some registry "compaction " tools, which appear to be little more
> than defragmenters. They show that most of the space actually does contain > data. Well, I have to blow all the unnecessary stuff away and if
it's
got > anything to do with COM I'm out of my realm of expertise. Could someone help
> me with this one?
>
> TIA,
> Bob
>
>



Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8393
by: Omer Ahmad | last post by:
Hi All, I've been working with python for about 6 months now, and have been very impressed with the size and scope of the libraries. I have, however, run into a bit of a problem. I discoverred Marc Hammonds PyWin32 extensions, (whcih are awesome) and Tim Golden's WMI wrapper for accessing the Windows Management Instrumentation (Win32_Classes) but now I have been asked to remove these dependandcies and still obtain machine...
1
1031
by: Martin Harran | last post by:
I understand that MS are encouraging developers using the NET platform to move away from storing application related data in the registry and to store it in data files instead. Is there a "best practice" in regard to the type of data files to be used - is there, for example, a move back towards the former 'ini' file types? I realise this is a fairly general question and would appreciate links to anywhere that this is/has been discussed.
0
1018
by: Sebastian | last post by:
Hi all, Does anyone know if there's a way in .net to read a registry file? I mean a registry file (.reg file), not the local registry. I need to work with registry info from another machine and do some processing in another server. I can parse the .txt export from the registry, but the file size is bigger than the .reg export file. Thanks in advance
7
1961
by: vbMark | last post by:
Here's my code: string strKeys; RegistryKey rk = Registry.CurrentUser; RegistryKey val = Registry.CurrentUser; string sLocation = "Software\\Microsoft\\Windows\\CurrentVersion \\Internet Settings\\P3P\\History"; rk = rk.OpenSubKey(sLocation); strKeys = rk.GetSubKeyNames(); for (int i = 0; i < strKeys.Length; i++)
2
1677
by: Daniel Bass | last post by:
I've found this article on how to get ASP.Net to read/write from the server's registry, but it got heavily critted as being something that you should not do... http://www.wwwcoder.com/main/parentid/263/site/2281/68/default.aspx what's the problem with a server side application reading data from a server
17
1609
by: Sam | last post by:
Hi all If I only want to store screen location and size of my application in Windows Registry, which of the keys should I store this info? A sample code is greatly appreciated. Thank you Regards, Sam
8
1874
by: rbt | last post by:
On windows xp, is there an easy way to extract the information that Python added to the registry as it was installed?
1
1402
by: Lars Skogshus | last post by:
I made a UserControl in VB.NET and uploaded it to the webserver, my problem is that the dll dont register in the registy at the client registry. I think it do How should i do? here is my code from the website. <html> <body color=white> <hr> <font face=arial size=1> <object id="myControl1" name="myControl1"
5
5090
by: UJ | last post by:
I have a system that has five programs that all communicate with each other via Message Queues. Works well. One program is a watchdog that will make sure the others are up and going. Currently I have it store info it gets from when the programs check in into a DataSet (XML file). Problem is, that file now has to be used by other programs to find out version information (the file is ALWAYS less that 1K.) The record itself is only five fields...
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9565
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10550
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10295
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2972
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.