General discussion

Locked

Memory

By srajar ·
what is the difference between Stack and heap memory

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

The Algorithm?

by dug111 In reply to Memory

I don't know for sure but I heard someone befor say it is the Algorithm used by the manufacturer to store the data.


:)

Collapse -

MEMORY

by BigBadWolf In reply to Memory

Stack memory is memory that items are removed in reverse order of how they were inserted.
example: A subrutine is called to execute a segment of code the info on how to get back to the calling procedure is stored on the stack so when the code segment ends it pulls from the stack the info on how to return to the calling procedure.

Heap memory is a dynamic data area that the programmer can control by storing variables.
example: You create a variable at one point in your program this is stored in the heap. At another point in the program you remove the variable from the heap opening this segment for another variable at another point in the program.

Collapse -

losing my memory (+mind)

by jem10 In reply to MEMORY

not being too technically minded,i cant work out why,- with 256mg of rd800 ram, i slowly
get down to nearly nothing & the only way to
get back to a "normal level" of ram is to
re-boot which brings ram back to ~ 170mg
ps: i am only running the very basic
number of programs on startup (6)

hope someone can help a old barsta.....
thanks

Collapse -

Try to find the culprit

by BigBadWolf In reply to losing my memory (+mind)

I have found that many of the programs i use in win98 do not reallicate ram back to windows as it should. I have wondered this many times myself and have came to a null conclusion. One this i did find is if I am working extensively in newsgroups my percentages drop drastically in free phyisical ram. This is because most of what i get is combined and decoded and then played this used space rarely gets released back to windows or if it does there is still a portion that does not. I have also found that working in a very intensive font document that my ram is not dynamically reallocated back to windows after i am done. the last thing i found on my system many months ago was that my resources would deplete on their own. I went to a command prompt and checked my mem to verify the available and unavailable areas this is were i found that my conventional ram was only 543 kb roughly. from this i dug hard into my mem at the under 1k area and found a trogan loading before any tasks and was using more and more space of mem and not letting windows manage it properly.

Hope this gives you some areas to test and look into.

Darin

Collapse -

What I have done to avoid reboot

by BigBadWolf In reply to Try to find the culprit

PS I have also gotten a program that i can run called ram optimizer it works well the free physical ram to open up more space and reallocate the unused and unreleased mem segments. you can find these on most download sites such as download.com

Darin

Back to Desktop Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums