|
|
Collin Jasnoch wrote: G2 Collection is BAD
It isn't bad. It just takes the longest because it is where all the large or aged objects are placed. This means it doesn't have the same performance as a G0 collection.
Saying it is bad is like saying an ADSL connection to the internet is bad because you can transfer data from your hard disk faster.
Collin Jasnoch wrote: Microsoft claims the the GC in VS 2010 is "Better", whatever the heck that means
Technology has moved on. Hardware has changed. Now the garbage collector supports the features of newer hardware that it didn't in the past.
|
|
|
|
|
Colin Angus Mackay wrote: Technology has moved on
WHAT! You mean I'm not typing this into my commodore?
|
|
|
|
|
Colin Angus Mackay wrote: It isn't bad. It just takes the longest because it is where all the large or aged objects are placed. This means it doesn't have the same performance as a G0 collection.
Large objects (IIRC >85k) have their own heap separate from the G0/1/2 heaps. It's managed differently in that objects are fixed and the heap doesn't compact after a collect. Instead it uses a c++eqsue traversal algorithm to find a suitable place to store new objects.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
Every day is a school day!
|
|
|
|
|
And despite reading about it a week or two ago, I didn't quite get it right. The allocator prefers the end of the heap to free space except when it would otherwise be forced to grow the heap. In certain unexpected circumstances this can bite you badly.
http://www.simple-talk.com/dotnet/.net-framework/the-dangers-of-the-large-object-heap/[^]
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
Collin Jasnoch wrote: To reiterate again, you need to know what you are wanting from the GC before you start messing with it. Oh and Microsoft claims the the GC in VS 2010 is "Better", whatever the heck that means (I do not recall a time when microsoft released a product and claimed something about it was "worse" or the same for that mattter).
Well obvious possibilities occur: One would be doing fewer G1 collects to reduce the number of objects making it to G2. The second would be to change the large object heap to avoid the sort of problems in the article I linked elsewhere in the thread. Changing the end of the free memory chain would mitigate the pathological case described. Another option would be to suck it up and compact it (at least partially) if the utilization fraction got too low. In extremis only attempting to do so when an out of memory error would otherwise occur, but would still generate large amounts of flack for making the poor management visible. "My app gobbled xGB of unused ram before releasing 99% of it." This would also be impractical if running x64 code because of the larger address space.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
Hi
I have application in c# that import dll writing in c++
The interface to the dll is
struct sNDIS_802_16E_CAPABILITY;
...
‘bool::WiMAXGetCapabilites(sNDIS_802_16E_CAPABILITY *pNDIS_802_16E_CAPABILITY)’
How can I send a pointer of the struct to the interface
Should I use ref?
Thanks
Ronen
|
|
|
|
|
What about documentation [^]?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I’m currently starting to work on internet apps, what i want to know is the "name" of such methods & what web hosting services i need.
Basically i want know how it’s called to do app communications using a webpage has the way to link them & start transmitting data.
Any examples or guides will be much appreciated 2
|
|
|
|
|
Fumudeir.Hack.Cota wrote: what i want to know is the "name" of such methods
Last time I checked there were over 110,000 methods in the .NET framework. You might like to narrow down what you'd like it to do.
Fumudeir.Hack.Cota wrote: what web hosting services i need.
I have no idea - It depends on what you want to do and what your budget is.
Fumudeir.Hack.Cota wrote: Basically i want know how it’s called to do app communications using a webpage has the way to link them & start transmitting data.
Isn't that the definition of a website: An applications that does communications.
|
|
|
|
|
Ok i think i missed this, what i want do is this:
Application A: User, Client, this app will be the one distributed & will ask App B for strings
Application B: The app that is contacted using the webpage url instead of an IP, Server, this app will create a connection to the App A & send back some strings.
Basically i just want to do strings communications using a webpage url to make the Apps to make a link & comunicate.
btw im not used to web/network apps, where do i start?
|
|
|
|
|
Fumudeir.Hack.Cota wrote: this app will create a connection to the App A
Your server connects to the clients? Normally the client connects to the server. Is there any particular reason for this?
|
|
|
|
|
*sniff sniif* :'( i think ill have to do a massive random search in google to get use to metwork apps lol, thx for the help btw
|
|
|
|
|
Hi
i've noticed that the Enable Property does'nt exsits in the datagridviewcell obj
so how can i disable it????
Thanks
Have Fun
Never forget it
|
|
|
|
|
what do you mean by disable? you can hide it so no one sees it.
|
|
|
|
|
DataGridViewCell is a ButtonCell and i'm looking for :
Obj.Enable = false
Have Fun
Never forget it
|
|
|
|
|
Take a look at this[^].
I didn't know the answer to this, I found it.
Do you know how I found it?
I damned well googled for it, it was the third item in the list. Just how lazy are you?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
|
hi all,
when i try to view any pages on a .NET website i just created, it gives me this error below:
Parser Error Message: Could not load type '_Default'.<br />
Source Error:<br />
<br />
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" >
What do i do, pleeeaase?
He who goes for revenge must first dig two graves.
|
|
|
|
|
Creamboy wrote: What do i do, pleeeaase?
Ask in the ASP.NET forum, perhaps?
|
|
|
|
|
Error 1 The type or namespace name 'ApplicationName' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\Rajagurur\My Documents\Visual Studio 2008\Projects\LoginVaidation\LoginVaidation\Properties\AssemblyInfo.cs 18 12 LoginVaidation
wat can i do for this error? in component deployment
Thanks....
Regards....
R RajaGuru
|
|
|
|
|
Search on google [^]like first step.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
hi,
i already search in google... i can't got
R RajaGuru
|
|
|
|
|
Please show the code that is broken. We are not mind-readers.
|
|
|
|