(((meta (@ (content . "Configure memory boxes") (name . "title"))) (meta (@ (content . "manual") (name . "role"))) (meta (@ (content . "#configuration #manual #zettelstore") (name . "tags"))) (meta (@ (content . "zmk") (name . "syntax"))) (meta (@ (content . "00001004011200") (name . "back"))) (meta (@ (content . "00001004011200") (name . "backward"))) (meta (@ (content . "1") (name . "box-number"))) (meta (@ (content . "(c) 2020-present by Detlef Stern ") (name . "copyright"))) (meta (@ (content . "20220307112918") (name . "created"))) (meta (@ (content . "en") (name . "lang"))) (meta (@ (content . "EUPL-1.2-or-later") (name . "license"))) (meta (@ (content . "20250627155851") (name . "modified"))) (meta (@ (content . "20250627155851") (name . "published"))) (meta (@ (content . "public") (name . "visibility")))) (p "Under most circumstances, it is preferable to further configure a memory box." " " "This is done by appending query parameters after the base box URI " (kbd "mem:") ".") (p "The following parameters are supported:") (table (thead (tr (th (@ (class . "center")) " Parameter") (th "Description") (th (@ (class . "center")) "Default value") (th (@ (class . "center")) "Maximum value"))) (tbody (tr (td (@ (class . "center")) "max-bytes") (td "Maximum number of bytes the box will store") (td (@ (class . "center")) "65535") (td (@ (class . "center")) "1073741824 (1 GiB)")) (tr (td (@ (class . "center")) "max-zettel") (td "Maximum number of zettel") (td (@ (class . "center")) "127") (td (@ (class . "center")) "65535")))) (p "The default values are somewhat arbitrary but applicable to many use cases.") (p "While the number of zettel should be easily calculable by a user, the number of bytes might be a bit more difficult to determine.") (p "Metadata consumes 6 bytes for the zettel identifier, plus one byte for the separator for each metadata value, in addition to the length of the key and data." " " "The size of the content is its size in bytes. For text content, this corresponds to the number of bytes in its UTF-8 encoding.") (p "If one of the limits is exceeded, Zettelstore will return an error indicated by the HTTP status code 507."))