Click here to Skip to main content
15,889,266 members
Home / Discussions / C#
   

C#

 
AnswerRe: IsNumeric Pin
Stefan Troschuetz11-Feb-07 4:35
Stefan Troschuetz11-Feb-07 4:35 
AnswerRe: IsNumeric Pin
ali_reza_zareian11-Feb-07 10:12
ali_reza_zareian11-Feb-07 10:12 
AnswerRe: IsNumeric Pin
Tim Paaschen11-Feb-07 20:47
Tim Paaschen11-Feb-07 20:47 
QuestionHow to change ms access column name in c# Pin
Neuromancer_11-Feb-07 3:19
Neuromancer_11-Feb-07 3:19 
QuestionIdentifying file type Pin
dream catcher11-Feb-07 1:26
dream catcher11-Feb-07 1:26 
AnswerRe: Identifying file type Pin
sharpiesharpie11-Feb-07 4:50
sharpiesharpie11-Feb-07 4:50 
QuestionUnderstanding the Garbage Collector Pin
AlexZieg7111-Feb-07 1:15
AlexZieg7111-Feb-07 1:15 
AnswerRe: Understanding the Garbage Collector Pin
S. Senthil Kumar11-Feb-07 2:28
S. Senthil Kumar11-Feb-07 2:28 
I'm unable to reproduce the behavior (I'm running .NET 2.0). This is the program I tried
class A
    {
        public PointF[] points = new PointF[1000000];
    }
    public class Test
    {
        public static void Main()
        {
            Console.ReadLine();
            A a = new A();
            Console.ReadLine();
            a = null; //Setting a.points=null didn't make any difference
            GC.Collect();
            Console.ReadLine();
        }
    }

Can you post a stripped down version of the code demonstrating the problem? Also, how did you measure the memory usage/drop? Memory Usage in TaskManager is not accurate, VM Size is a better measure. Better yet, you can use one of the performance counters (Type perfmon.msc at the command prompt, right click on the graph, click Add Counters, choose the .NET CLR Memory performance object, select your process from the list box, choose #Bytes in all Heaps and repeat the experiment. You should see the counter value drop).



Regards
Senthil [MVP - Visual C#]
_____________________________
My Blog | My Articles | My Flickr | WinMacro

QuestionSelecting datagrid row by PK Pin
VargaMisha11-Feb-07 1:13
VargaMisha11-Feb-07 1:13 
QuestionI have a bug with a deployment project, help :( Pin
3DoorsDown11-Feb-07 0:53
3DoorsDown11-Feb-07 0:53 
AnswerRe: I have a bug with a deployment project, help :( Pin
Rudolf Jan12-Feb-07 0:33
Rudolf Jan12-Feb-07 0:33 
Questiontree view Help plzzzzzzz capturing cliked node's vale Pin
EEmaan11-Feb-07 0:23
EEmaan11-Feb-07 0:23 
AnswerRe: tree view Help plzzzzzzz capturing cliked node's vale Pin
sharpiesharpie11-Feb-07 4:35
sharpiesharpie11-Feb-07 4:35 
Questionzoom in picture with very details Pin
sahelearamesh10-Feb-07 21:57
sahelearamesh10-Feb-07 21:57 
AnswerRe: zoom in picture with very details Pin
Christian Graus10-Feb-07 22:25
protectorChristian Graus10-Feb-07 22:25 
AnswerRe: zoom in picture with very details Pin
ali_reza_zareian11-Feb-07 10:22
ali_reza_zareian11-Feb-07 10:22 
QuestionUsing embedded xml file Pin
AndrusM10-Feb-07 21:45
AndrusM10-Feb-07 21:45 
AnswerRe: Using embedded xml file Pin
Stefan Troschuetz10-Feb-07 22:48
Stefan Troschuetz10-Feb-07 22:48 
GeneralRe: Using embedded xml file Pin
AndrusM11-Feb-07 10:38
AndrusM11-Feb-07 10:38 
GeneralRe: Using embedded xml file Pin
User 167325211-Feb-07 16:49
User 167325211-Feb-07 16:49 
GeneralRe: Using embedded xml file Pin
Stefan Troschuetz11-Feb-07 20:42
Stefan Troschuetz11-Feb-07 20:42 
QuestionConnection To Web(c#) Pin
sahelearamesh10-Feb-07 21:41
sahelearamesh10-Feb-07 21:41 
AnswerRe: Connection To Web(c#) Pin
sharpiesharpie11-Feb-07 4:53
sharpiesharpie11-Feb-07 4:53 
QuestionWhats the regular expression of a alphanumeric string with no special characters Pin
Rocky#10-Feb-07 21:07
Rocky#10-Feb-07 21:07 
AnswerRe: Whats the regular expression of a alphanumeric string with no special characters Pin
Christian Graus10-Feb-07 22:27
protectorChristian Graus10-Feb-07 22:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.