DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: making java system, shared pool

  1. #1
    create or replace java system;
    *
    ERROR at line 1:
    ORA-04031: unable to allocate 4180 bytes of shared memory ("shared
    pool","unknown object","sga heap","state objects")

    COUNT(*)
    ----------
    6595

    ==================

    I get this creating the java system... there are NO other oracle connections running...
    I have these parameters in my init.ora file... which needs MORE?
    p.s. I am running $ORACLE_HOME/javavm/initjvm.sql as SYS

    db_block_buffers = 20000
    shared_pool_size = 12000000
    shared_pool_reserved_size = 800000

    large_pool_size = 4000000
    #java_pool_size = 10485760
    java_pool_size = 52428800 #for use when replacing java system

    ====
    thanks


    [Edited by bberg@rtnyc.com on 03-05-2001 at 10:53 AM]

  2. #2
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    Increase your large_pool_size and that would fix the problem. One other suggestion would be to increase your shared_pool_size some more, and be sure that you have enough memory.

    Sam
    Thanx
    Sam



    Life is a journey, not a destination!


  3. #3
    ok, I am now seeing this problem...

    create or replace java system;
    *
    ERROR at line 1:
    ORA-04021: timeout occurred while waiting to lock object
    SYS.java/lang/Cloneable
    ORA-04021: timeout occurred while waiting to lock object SYS.java/lang/Object



    I just bounced the database before I ran this... I guess I'll try it again...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width