Memory Handling

From TNT

Jump to: navigation, search

Contents

[Dataset buffer]


Only one matrix can be loaded at a time. For large data matrices the amount of memory assiged to keep the data (16 MB by default) may not be enough. To change the size of this buffer use the command mxram

[Tree buffer]


[Text buffer]


[Memory for Macros]


All the text that is written in the screen is kept in the text buffer. You can save this text in a file usign the command log. The text buffer has limit of maximum amount of text. This limit can be changed with the command txtsize. The memory used for macros is separate from the memory used for data, trees, etc. The user variables occupy memory for the macros, and all the copying of the instructions of every level of looping (and subsequent expansion of the corresponding expressions in every cycle) is also done in a region of memory accessible to the macros. If you need to increase the number of available variables (default = 1000), or maximum loop nesting (default = 10), the command macro * L V can be used (where L = max loops, and V = max. variables). The total amount of RAM to be used by the macros can be changed with macro [ K (where K = number of kylobytes to assign to the macros, default = 100). The maximum nesting for input files can be changed with the MXPROC command. It is possible to store user variables as int's, instead of double's, case in which every cell of a user variable will occupy 32 bits (with macfloat-), instead of 64 (with macfloat=, the default); this can be used to diminish the amount of RAM that a given routine will need.


Path:Settings/Memory

Memory.jpg

Personal tools