/************************************************************/
/* stacksiz */
/************************************************************/
/* :SUMMARY: test object with links to 10000 other objects
:PRIORITY: 3
:STATUS: ok
:FEATURE:
an attribute in ACEDB can be mutlivalued. there is no
priniciple limit to the number of values. However, the show command
in tace and the display function for the tree-display in xace traverse
the object using a recursive function, thus it takes stack space.
e.g. with 10000 links it crashes on a DEC ALPHA if the stack limit
is 8MB.
:MODEL:
?Author Citation ?Citation XREF Author
:DATA:
Author Joe
Citation c-9999
Citation c-9998
...
:RESULT:
works if stack limit > 32 MB
fails if stack limit < 8 MB, then it gets a
segmentation fault during the show command
:SCRIPT: */
stacksiz: dbinit wspec.igd-ted
1: tace
parse: do pparse $data/igd.multi_link.10000.ace.gz
mem
find: do find Author Joe
show: do -e show
exit
2: tace
find: do find Author
show: do -e show
exit