@Mrodfr
Quote:
- And for the stack on the Icon ? (become not usefull at all).
The stack can still be increased by setting a higher value in the icon, never decreased, the higher value is always used. This is still useful if say a developer sets a stack cookie but underestimates the programs needs. Or for programs contain recursive code where a some situations will use greater stack. AWeb for example can use a lot of stack for deeply nested tables, but for the majority of cases doesn't need it.
Quote:
- This advice also true for shell program or for shell program ported fom linux ?
Shell programs will often need less stack, but will still be given at least the stack set in DOS prefs. I've found it best to set this to 70 / 80 k. Really with the amount of memory available on a modern 'amiga' worry about wastage is a waste of effort, compared with the extra stability gained by not taking risks with marginal stacks.
Linux ports typical use very big stacks, as the memory usage patterns for linux programs are quite different from a typical native amiga app, and they make big allocations on the stack. Changing that would typically make the port very hard to maintain, so is generally not done.
With blender I did reduce the stack required by some timeing tasks which were originally inheriting the big main stack required for the render / gui loops but these were special cases.