Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6350

Excessive unnecessary memory allocation at InnoDB/XtraDB startup if LZO is installed

    XMLWordPrintable

    Details

      Description

      struct os_aio_slot_t{
      ...
      #ifdef HAVE_LZO
      	byte		lzo_mem[LZO1X_1_15_MEM_COMPRESS];
      #else
      	byte		lzo_mem[1];	/* Temporal memory used by LZO */
      #endif

      Modify array to be dynamically allocated and allocate if and only if LZO is really used.

        Attachments

          Activity

            People

            Assignee:
            jplindst Jan Lindström
            Reporter:
            jplindst Jan Lindström
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: