# (mem) [GstarCAD 2012](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md) <a id="223"></a> ## (mem) --- Display the status of the LISP memory. --- This function reports on the status of the memory being used by LISP. The parameters reported by **mem** have the following meanings: | mem | Meaning | | --- | --- | | Nodes | Total number of nodes allocated to LISP. | | Free nodes | Number of nodes freed by garbage collection. | | Segments | Number of segments allocated. | | Allocate | Size of the segment. | | Collections | Number of garbage collections. | **Example** | Code | Returns | | --- | --- | | (**mem**) | Nodes: 33934 Free nodes: 1744 Segments: 40 Allocate: 514 Collections: 24 | **NOTE** A node is 12 bytes. The default size of a segment is 514 nodes. Use the [alloc](%28alloc%20integer%29.md) function to change the size of the segment. Use the [expand](%28expand%20integer%29.md) function to change the number of segments. **Tell me about...** [(gc)](%28gc%29.md) [LISP Compatibility](../LISP%20Compatibility.md) [Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md) <a id="holding"></a> ## Other versions with matching text [GstarCAD 2011](../../../../2011/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28mem%29.md)