Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Upgrade Express: "unable to allocate 4096 bytes of shared memory"

    Upgrade Express: "unable to allocate 4096 bytes of shared memory"

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    Trying to upgrade from v22 to v23,  we are getting the message "unable to allocate 4096 bytes of shared memory" in the Upgrade Express create_customer_data (export) step on the v22 server -- and the ./data/a22_1.tar.gz file lacks the Oracle data.

    In the ./create_customer_data_20171212.log, we see all the appropriate lines like this:

    . . exported "XXXnn" ...
    . . exported "XXXnn" ...
    <etc.>

    but then after each "Finished export in library xxxnn ..."

    we see this:

    chmod 777 and gzip the exported files...

    Call completed.

     BEGIN rc('/bin/chmod 777 /exlibris/aleph/upgrade_express_2201_2301/data/a22_1/xxx01/files/dpdir/expxxx01.log'); END;

    *
    ERROR at line 1:
    ORA-04031: unable to allocate 4096 bytes of shared memory ("java pool","Util","JOXLE^7fb17135",":SGAClass")
    ORA-06512: at "ALEPH_ADMIN.RUN_CMD", line 1
    ORA-06512: at "ALEPH_ADMIN.RC", line 5
    ORA-06512: at line 1

    <end log excerpt>

     We should be seeing a  "PL/SQL procedure successfully completed" message in the log following each "chmod 777 and gzip ..." message, but we are not. It seems that the tar/zip step is failing in each case. 

    We added 8 Gig of memory, but that has not helped; we are still getting this unable to allocate error. 

    Also, per the article "Unable to allocate nnn bytes of shared memory" (    https://knowledge.exlibrisgroup.com/..._shared_memory )    we rebooted the server, which, also, did not help.

     

    Resolution

    It seemed that possibly the SGA needed to be increased, but, rather than doing that,  the customer (who had only 160,000 bib records) ran the export responding "No" to the "Use Data Pump?" question.   That worked.

     


    • Article last edited: 3-Jan-2018
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Upgrade Express: "There's no such library xxxnn"
      • Upgrade Express: "You haven't run Install customer data" error
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. contype:kba
      2. Prod:Aleph
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved