Skip to content

Commit 1571ce6

Browse files
committed
added details for memory function (.mem.objsize)
1 parent 1812dff commit 1571ce6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

code/common/apidetails.q

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,6 @@ add[`.email.disconnect;1b;"disconnect from email server";"[]";"0"]
107107

108108
// tplog
109109
add[`.tplog.check;1b;"Checks if tickerplant log can be replayed. If it can or can replay the first X messages, then returns the log handle, else it will read log as byte stream and create a good log and then return the good log handle ";"[logfile (symbol), handle to the log file to check; lastmsgtoreplay (long), the index of the last message to be replayed from log ]";"handle to log file, will be either the input log handle or handle to repaired log, depends on whether the log was corrupt"]
110+
111+
// memory usage
112+
add[`.mem.objsize;1b;"Returns the calculated memory size in bytes used by an object. It may take a little bit of time for objects with lots of nested structures (e.g. lots of nested columns)";"[q object]";"size of the object in bytes"]

0 commit comments

Comments
 (0)