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

            jplindst Jan Lindström (Inactive)
            jplindst Jan Lindström (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 0.5d
                0.5d

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.