Tech Tip: What is 4D's minimum recommended stack size?
PRODUCT: 4D | VERSION: 11.4 | PLATFORM: Mac & Win
Published On: July 23, 2009
Although it is impossible to "recommend" a stack size because the true size should depend on the code that is being run, it is possible to find the default stack size used by 4D. You can do this by allowing 4D to create a process for you. For example run a very simple method (such as the one below) by clicking the the green play button and selecting "Run new process" in the design environment.
Here is a simple sample method:
` Begin TRACE ` End |
Once you are in the debug window simply view the Stack Size under the Information heading. Some sample sizes found using this technique include:
Windows Vista: | 549 Kb |
Windows XP: | 549 Kb |
Mac OS 10.4.11: | 892 Kb |
Mac OS 10.5.7: | 892 Kb |
http://kb.4d.com/search/assetid=75843