Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #383806
| From | fir <fir@grunge.pl> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: > fails. Because heaps are unlimited whilst stacks are not. |
| Date | 2024-03-20 18:41 +0100 |
| Organization | i2pn2 (i2pn.org) |
| Message-ID | <utf754$2gnvv$1@i2pn2.org> (permalink) |
| References | <uteqa1$2g5vi$1@i2pn2.org> <utf2fj$1j1tv$1@dont-email.me> |
bart wrote: > > Maybe the routine is never called. Or it's called once then never called > again but the stack is now committed. > as far as i know it is not commited..im not 100 procent sure (as it would probably need to use soem tool that shows that, maybe there are some) but probably what i think is rught windows will swap unused pages away from ram and it work in runtime i mean if you declare 300 MB stack use it once and then for an hour you use only 2 MB of this the 298 MB of physical ram will nt be "taken" it is not hard to do it in system i think just as aplication acces ram thry some table you may monitor once a time which regions are alocated and non used and "detatch " phisical ram ftom thsi area - then attach it if there is an acces -0 where this detach and attach is not very slow operation thats how i see it..i readed something about this but not much and long time ago
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar
> fails. Because heaps are unlimited whilst stacks are not. fir <fir@grunge.pl> - 2024-03-20 15:02 +0100
Re: > fails. Because heaps are unlimited whilst stacks are not. fir <fir@grunge.pl> - 2024-03-20 16:29 +0100
Re: > fails. Because heaps are unlimited whilst stacks are not. fir <fir@grunge.pl> - 2024-03-20 16:50 +0100
Re: > fails. Because heaps are unlimited whilst stacks are not. fir <fir@grunge.pl> - 2024-03-20 17:04 +0100
Re: > fails. Because heaps are unlimited whilst stacks are not. fir <fir@grunge.pl> - 2024-03-20 17:38 +0100
Re: > fails. Because heaps are unlimited whilst stacks are not. bart <bc@freeuk.com> - 2024-03-20 16:22 +0000
Re: > fails. Because heaps are unlimited whilst stacks are not. fir <fir@grunge.pl> - 2024-03-20 17:47 +0100
Re: > fails. Because heaps are unlimited whilst stacks are not. fir <fir@grunge.pl> - 2024-03-20 17:57 +0100
Re: > fails. Because heaps are unlimited whilst stacks are not. fir <fir@grunge.pl> - 2024-03-20 18:11 +0100
Re: > fails. Because heaps are unlimited whilst stacks are not. fir <fir@grunge.pl> - 2024-03-20 18:22 +0100
Re: > fails. Because heaps are unlimited whilst stacks are not. fir <fir@grunge.pl> - 2024-03-20 18:41 +0100
Re: > fails. Because heaps are unlimited whilst stacks are not. fir <fir@grunge.pl> - 2024-03-20 18:49 +0100
csiph-web