Click here to Skip to main content
12,077,351 members (45,793 online)

.NET Framework

 
GeneralRe: Visual Studio Online or Express? Pin
adamhill913-Aug-14 1:22
memberadamhill913-Aug-14 1:22 
AnswerRe: Visual Studio Online or Express? Pin
PIEBALDconsult11-Aug-14 9:01
memberPIEBALDconsult11-Aug-14 9:01 
AnswerRe: Visual Studio Online or Express? Pin
robcaron12-Aug-14 8:12
memberrobcaron12-Aug-14 8:12 
GeneralRe: Visual Studio Online or Express? Pin
adamhill913-Aug-14 1:26
memberadamhill913-Aug-14 1:26 
AnswerRe: Visual Studio Online or Express? Pin
thatraja13-Aug-14 3:30
protectorthatraja13-Aug-14 3:30 
AnswerRe: Visual Studio Online or Express? Pin
sankarsan parida27-Aug-14 21:48
professionalsankarsan parida27-Aug-14 21:48 
QuestionRequesting help chasing a .net memory leak Pin
Member 858457310-Aug-14 8:46
memberMember 858457310-Aug-14 8:46 
AnswerRe: Requesting help chasing a .net memory leak Pin
Eddy Vluggen11-Aug-14 8:51
professionalEddy Vluggen11-Aug-14 8:51 
You're either generating more objects (and faster) than the GC can clean up and manage, or you're keeping a reference to those objects somewhere. Is there a custom paint-handler somewhere in the application?

Put the mouse on a suspicious class, and hit Shift-F12. That should give you a list of all the places where the class is being used.

Another quick and dirty way would be to implement IDisposable, and have the class log a line whenever an object is created (in the constructor) and when it is disposed of.

The best way would be to use a (commercial) memory-profiler. You'll get a nice graphic showing what's been allocated at what point. Microsoft also provides a tool of course, with their "howto" here[^].
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: Requesting help chasing a .net memory leak Pin
Joshua Gayou11-Aug-14 11:48
memberJoshua Gayou11-Aug-14 11:48 
AnswerRe: Requesting help chasing a .net memory leak Pin
Joshua Gayou11-Aug-14 14:08
memberJoshua Gayou11-Aug-14 14:08 
QuestionCS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside98-Aug-14 21:50
memberdemoninside98-Aug-14 21:50 
AnswerRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
PIEBALDconsult8-Aug-14 21:56
memberPIEBALDconsult8-Aug-14 21:56 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside98-Aug-14 22:13
memberdemoninside98-Aug-14 22:13 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
PIEBALDconsult9-Aug-14 6:24
memberPIEBALDconsult9-Aug-14 6:24 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
Dave Kreskowiak9-Aug-14 7:25
mvpDave Kreskowiak9-Aug-14 7:25 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside98-Aug-14 22:22
memberdemoninside98-Aug-14 22:22 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
PIEBALDconsult9-Aug-14 6:23
memberPIEBALDconsult9-Aug-14 6:23 
AnswerRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
Richard MacCutchan8-Aug-14 23:39
protectorRichard MacCutchan8-Aug-14 23:39 
GeneralRe: CS0029: Cannot implicitly convert type 'System.DateTime' to 'var' Pin
demoninside99-Aug-14 1:35
memberdemoninside99-Aug-14 1:35 
QuestionRetrieve information from UDL file Pin
Ashfaque Hussain4-Aug-14 20:23
memberAshfaque Hussain4-Aug-14 20:23 
AnswerRe: Retrieve information from UDL file Pin
Eddy Vluggen5-Aug-14 3:37
professionalEddy Vluggen5-Aug-14 3:37 
QuestionControls resize to init after changing language Pin
ChriSSi0034-Aug-14 2:36
memberChriSSi0034-Aug-14 2:36 
AnswerRe: Control resize to init after changing language Pin
Eddy Vluggen4-Aug-14 3:00
professionalEddy Vluggen4-Aug-14 3:00 
AnswerRe: Control resize to init after changing language Pin
Bernhard Hiller4-Aug-14 21:49
professionalBernhard Hiller4-Aug-14 21:49 
GeneralRe: Control resize to init after changing language Pin
ChriSSi0034-Aug-14 22:26
memberChriSSi0034-Aug-14 22:26 

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.


Advertise | Privacy | Mobile
Web04 | 2.8.160212.1 | Last Updated 12 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid