Trying HugePages In MySQL Causes Error (Doc ID 1954319.1)

Last updated on OCTOBER 24, 2016

Applies to:

MySQL Server - Version 5.6 and later
Linux x86-64

Goal

You want to use Huge Pages for the InnoDB buffer pool, you have followed the directions and allocated enough pages, but you still get the following error from InnoDB:

2014-12-12 17:35:29 26035 [Note] InnoDB: Initializing buffer pool, size = 1.0G
InnoDB: HugeTLB: Warning: Failed to allocate 138412032 bytes. errno 12
InnoDB HugeTLB: Warning: Using conventional memory pool
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms