Receiving "Cannot allocate large pages, falling back to regular pages" when installing Control-M/Agent 9.0 on Oracle Linux 6.X

Version 2
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-M/Agent for UNIX and Microsoft Windows


    COMPONENT:

    Control-M/Agent for UNIX and Microsoft Windows


    APPLIES TO:

    Oracle Linux 6.9 or 6.X, Control-M/Agent Version 9.0.00



    PROBLEM:

    [Symptoms]
    The following warning message is generated when the setup.sh script is executed.

    Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000581a00000, 717225984, 2097152, 0) failed; error='Cannot allocate memory' (errno=12); Cannot allocate large pages, falling back to regular pages


    CAUSE:

    This is warning message is caused by insufficient resources on the system or a bug in JDK (https://blogs.oracle.com/poonam/uselargepages-on-linux).


    SOLUTION:

    Attempt to increase the number of large pages available on the system.
    Java has documented how to do this at: http://www.oracle.com/technetwork/java/javase/tech/largememory-jsp-137182.html

    or

    Add the "-XX:-UseLargePages" parameter to the installer_arguments variable in the setup.sh file.

    Example:

    if [ "${install_echo_on}" = "true" ]; then                 installer_arguments="-DTrace=true -DInstall.Temp.Directory=${log_dir} -DInstall.Logger.Directory=${log_dir} -XX:-UseLargePages"         else                 installer_arguments="-DInstall.Temp.Directory=${log_dir} -DInstall.Logger.Directory=${log_dir} -XX:-UseLargePages"         fi         installer_arguments="${installer_arguments} -Djava.util.prefs.PreferencesFactory=com.izforge.izpack.util.DisabledPreferencesFactory ${activated_from_one_install_localvar} -XX:-UseLargePages"          if is_remote_installation ${started_args}; then                 remote_host=`get_remote_installation_host ${started_args}`                 remote_port=`get_remote_installation_port ${started_args}`                 installer_arguments="${installer_arguments} -Dinstaller_type=remote_installation_server -Dremote_installation_host=${remote_host} -Dremote_installation_port=${remote_port} -XX:-UseLargePages"                 "${jre_path}/bin/java" ${installer_arguments} -jar "${product_jar}" &                 return $?         else
    A modified version of setup.sh has been uploaded to this article. 

     


    Article Number:

    000144398


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles