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

track and limit memory usage per connection

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      We want to be able to know how much memory a particular connection was allocated. And Limit this amount, if necessary.

      Possible implementations (all in my_malloc()/my_free()):

      • allocate 16 bytes more and store the size there
      • use _msize (windows), malloc_usable_size (linux), malloc_size (mac os x). That's simpler, but is it portable enough for us? See also this thread

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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