Click here to Skip to main content
15,887,304 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralProcess memory not right Pin
Turok_4_2_024-Feb-05 4:12
Turok_4_2_024-Feb-05 4:12 
GeneralRe: Process memory not right Pin
S. Senthil Kumar24-Feb-05 8:47
S. Senthil Kumar24-Feb-05 8:47 
GeneralRe: Process memory not right Pin
Turok_4_2_024-Feb-05 14:17
Turok_4_2_024-Feb-05 14:17 
GeneralChanging child control property of a form from another form Pin
erossetto24-Feb-05 2:50
erossetto24-Feb-05 2:50 
Generalmicrosoft visio Pin
lalitmohankohli24-Feb-05 0:17
lalitmohankohli24-Feb-05 0:17 
GeneralMemory oddness Pin
Ray Cassick23-Feb-05 16:58
Ray Cassick23-Feb-05 16:58 
GeneralRe: Memory oddness Pin
Mike Dimmick24-Feb-05 5:12
Mike Dimmick24-Feb-05 5:12 
GeneralRe: Memory oddness Pin
Ray Cassick24-Feb-05 6:29
Ray Cassick24-Feb-05 6:29 
Mike Dimmick wrote:
I suggest you read Joseph Newcomer's excellent article How Big Is My Program?[^] Written for C++ apps, it still applies heavily to .NET applications.

Thanks for that.. I will be sure to check into it.

Mike Dimmick wrote:
The GC heap follows a fairly common pattern of making virtual memory allocations but not releasing those allocations back to the OS unless memory pressure or the amount of free memory is moderately high. This saves time in making allocations - altering the virtual memory map requires calls into kernel mode. So you'll tend to see the working set grow, in the general case.

yeah, I figured it might end up being something like this but I was ammazed to see it take so long. I ran an overnight test (7 hours) and did end up seeing where the memory was reclaimed after 6 hours. I just figured that GC would have an effect quicker than that.

Mike Dimmick wrote:
Finally recall that a thread is not free. Memory must be allocated for the thread's user- and kernel-mode stacks and for any other per-thread data.

I understand that as well, but what I did not expect to see was a memory creep up over several minutes then get release hours latter. I figured I would see an immediate increase in size right when the threads were created but not that I would ocntinue to see a creep up after that.


Thanks.



Paul Watson wrote:
"At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.


GeneralRe: Memory oddness Pin
Turok_4_2_024-Feb-05 14:22
Turok_4_2_024-Feb-05 14:22 
GeneralRe: Memory oddness Pin
Andy Brummer24-Feb-05 8:09
sitebuilderAndy Brummer24-Feb-05 8:09 
GeneralChange path of "obj" directory in .NET Pin
Mohammed Saleem23-Feb-05 0:02
Mohammed Saleem23-Feb-05 0:02 
GeneralProblems with process spawning Pin
usman.ghani22-Feb-05 8:11
usman.ghani22-Feb-05 8:11 
GeneralRe: Problems with process spawning Pin
S. Senthil Kumar22-Feb-05 18:09
S. Senthil Kumar22-Feb-05 18:09 
GeneralRe: Problems with process spawning Pin
usman.ghani26-Feb-05 3:15
usman.ghani26-Feb-05 3:15 
Generalcreate copy of a hashtable... Pin
Ray Cassick21-Feb-05 19:09
Ray Cassick21-Feb-05 19:09 
GeneralRe: create copy of a hashtable... Pin
S. Senthil Kumar22-Feb-05 18:07
S. Senthil Kumar22-Feb-05 18:07 
GeneralLoading Assembly from a Web Service Pin
Vadim Tabakman21-Feb-05 18:29
Vadim Tabakman21-Feb-05 18:29 
Generalwindows application write to console Pin
krealiza21-Feb-05 16:42
krealiza21-Feb-05 16:42 
GeneralRe: windows application write to console Pin
Rei Miyasaka22-Feb-05 17:35
Rei Miyasaka22-Feb-05 17:35 
GeneralRe: windows application write to console Pin
krealiza22-Feb-05 17:57
krealiza22-Feb-05 17:57 
GeneralRe: windows application write to console Pin
Rei Miyasaka22-Feb-05 18:00
Rei Miyasaka22-Feb-05 18:00 
GeneralRe: windows application write to console Pin
krealiza22-Feb-05 18:13
krealiza22-Feb-05 18:13 
GeneralRe: windows application write to console Pin
Rei Miyasaka22-Feb-05 18:40
Rei Miyasaka22-Feb-05 18:40 
GeneralWebService Ticks must be between Pin
Vadim Tabakman21-Feb-05 14:54
Vadim Tabakman21-Feb-05 14:54 
GeneralCan't see anything (DirectX) Pin
truonghongquan21-Feb-05 14:41
truonghongquan21-Feb-05 14:41 

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.