The main memory area required for logging is called the log queue. The size of a log queue is determined by the special database parameter LOG_IO_QUEUE.
For a detailed explanation of the log concept, and the tasks of the log queue, see Background Knowledge: SAP DB, under Log Concept.