Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: levi@localhost.nc3a.nato.int
Subject: portable programming
Date: 25 Oct 2000, 12:15:18
Eike Lange a écrit : > > Hi! > > On Wed, Oct 25, 2000 at 10:34:29AM +0100, Nick Burrett wrote: > > Eike Lange <eike.lange@uni-essen.de> writes: > > > Thorsten and I use a very (possibly, depending > > > on the source-size) large stack for the > > > "pindent"- program. Are there any limitations > > > for stack-size on some systems, gpc runs on? > > Stack sizes can be set by ulimit on some systems. On such > > systems, it may be set as low as 2Mb. It is set at > > either 4Mb or 8Mb on all the servers we use here though. > > For large allocations, it is usually better to use a more > > permanent storage mechanism > > I'm sorry, my question was not detailled enough :-( > > We use stacks of this form: > > Type > StackElementPtr = ^StackElement; > StackElement = Record > foo : aType; > next : StackElementPtr; > End; So in fact it is allocated on the heap by new, not on the stack: the name is confusing. There are limitations in stack size for DJGPP (256k by default) but not for the heap: all DPMI+swap size is available. Hope this helps Maurice
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Eike Lange | portable programming | 25 Oct 2000, 11:02:35 |
| Nick Burrett | portable programming | 25 Oct 2000, 10:34:29 |
| Eike Lange | portable programming | 25 Oct 2000, 12:01:14 |
Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.
Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.
This page was created by Crystal 0.999 (Linux 2.4.27/i686).