Urgent help with ORA-01062: unable to allocate memory for define buffer

Hello, Folks!
I have a c++ code that is using OCI API that is running both in
windows and in spark.
(The same c++ code compiled and running in both platforms)
and asking the same query.
In windows, everything is OK but in spark
it failes...
The ORACLE Server is installed on win2003 station
Both client and server ORACLE version is 10.2.0.1.0
The code is running on spark(oracle instant client is installed)
This query is a simple select query that selects only one field
of type VARCHAR2(4000) (the same problem with happen with any
string type field larger than 150 characters)
The error occured when calling for OCIDefineByPos method
when associating an item in a select-list with the type and output
data buffer.
The error message is: ORA-01062: unable to allocate memory for define
buffer
(This error message signifies that I need to use piecewise operation...)
But it happens even if I make this varchar2 field to be of size larger
than 150.
It is not fair to use piecewise fetch for such a small fields sizes.
May be there is not configuration setting that can enlarge this
I know that I wrote here a very superficial description.
If somebody knows something about this issue, please help
Thanks

I had a special luck today after searching the solution per weeks:)I have got a solution.
When I get the size of the oci field, in the following expressioin
l_nResult = OCIAttrGet(l_oParam->pOCIHandle(), OCI_DTYPE_PARAM, &(orFieldMD.m_nSize), NULL, OCI_ATTR_DATA_SIZE, m_oOCIErrInfo.pOCIError());
orFieldMD.m_nSize was of type ub4 but according the manual it must be ub2.
As a result, the number returned was very large (junk?) and I passed this value to OCIDefineByPos
Now I changed the type and everything is working!!!
In windows there is not problem with this expression :)
Thanks
Issahar

Similar Messages

  • Unable to allocate memory for mutex; resize mutex region

    I have BDB on linux. I am trying to run my app, but I am getting this when it tries to set up the environment. Do I need to set any environment variable or something?
    Here is my setting.
    <property name="allowCreate" value="true"/>
    <property name="cacheSize" value="65535000"/>
    <property name="cacheCount" value="30"/>
    <property name="initializeCache" value="true"/>
    <property name="initializeLocking" value="true"/>
    <property name="transactional" value="true"/>
    Thanks.
    ------------- Standard Error -----------------
    unable to allocate memory for mutex; resize mutex region
    Testcase: testRunService took 1.842 sec
    Caused an ERROR
    Cannot allocate memory
    java.lang.OutOfMemoryError: Cannot allocate memory
    at com.sleepycat.db.internal.db_javaJNI.DbEnv_open(Native Method)
    at com.sleepycat.db.internal.DbEnv.open(DbEnv.java:262)
    at com.sleepycat.db.EnvironmentConfig.openEnvironment(EnvironmentConfig.java:908)
    at com.sleepycat.db.Environment.<init>(Environment.java:30)
    Edited by: user635741 on Oct 23, 2008 9:19 AM

    Hello,
    Based on the error, unable to allocate memory for mutex; resize mutex region,
    have you tried increasing the mutex region?
    The documentation on the setMaxMutexes method is at:
    http://www.oracle.com/technology/documentation/berkeley-db/db/java/com/sleepycat/db/EnvironmentConfig.html#setMaxMutexes(int)
    You can run db_stat -x
    to display the mutex subsystem statistics.
    You'll see the information for statistics like:
    Mutex region size
    The number of region locks that required waiting (0%)
    Mutex alignment
    Mutex test-and-set spins
    If that does not look to be the problem, just let me know.
    Thanks,
    Sandra

  • U6678700.drv fails with "AutoPatch error: Unable to allocate memory in proc

    I am running an adpatch session to apply the u6678700.drv upgrade driver to an 11.5.10.2 instance running on AIX 6.1.
    Just after the "JDBC connect string from AD_APPS_JDBC_URL is......" statement, I receive "AutoPatch error: Unable to allocate memory in procedure aiumab()."
    I have confirmed and reconfirmed that all O/S, Software, ulimit and kernel settings are at the required minimum values/levels per Document ID# 761569.1.
    What else can I check into as to the cause of this error?

    There are no entries in the DB Log of any relevance to the error.
    ADPATCH LOG FILE:
    Uploading PL/SQL direct execute exceptions from file ...
    Done uploading PL/SQL direct execute exceptions from file.
    Done validating PL/SQL direct execute exceptions file.
    JDBC connect string from AD_APPS_JDBC_URL is
    (DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=lajeffeux03)(PORT=1521)))(CONNECT_DATA=(SID=UPG)))
    AutoPatch error:
    Unable to allocate memory in procedure aiumab().
    You should check the file
    /oracle/d01/oraupg/apps/apps_st/appl/admin/UPG/log/6678700_adpatch.log
    for errors.

  • After Effects error: Unable to allocate space for image buffer

    I am having some glitchy issues with After Effects, very inconsistent, but I am getting the error message "After Effects error: unable to Allocate Space for a 7500 x 4500 image buffer. You may be experiencing fragmentation. In the Memory and Multiprocessing Preference dialog box, trying increasing the RAM to leave for other applications, and selecting the Enable Disk Cache option in the Media & Disk Cache Panel".
    Pretty straightforward, but I have a brand new 8 core dual 2.25 Mac Pro with 16GB Ram. I have it set to allow other applications to use 7GB, have jockeyed that setting between 1GB and 5GB and still gotten the same error message. Disk Cache is set to 3GB, have pushed it all the up to 7GB and still gotten the same message. I am working in 1080p, but I got the error message with Open GL on, quarter resolution, and wasn't even trying to RAM preview. I also noticed that with a straight 1080p clip .mov animation codec clip, after effects will only RAM preview about 7 seconds. That is without any other layers or effects.  I do not have all of my source footage in one folder, I am going to try that next. I am running of a fast internal hard drive that is not they system drive.  It also seems like it happens after I have been using the comptuer for awhile. If I restart the problem will usually go away for a little while.
    I think that I may have a bigger system error, the computer locked up bad once after I had it for a few weeks and since that happened CS4 has been unstable in general, especially Photoshop and Bridge. My guess is bad RAM, but I wanted to make sure I wasn't missing something with my AE settings.  If any one has any input please let me know. Thanks.

    > I lowered the minimum RAM per core to 1GB, because the Adobe site recommends that as a base setting for andHD project
    When you say "the Adobe site recommends", what exactly are you referring to? If you're quoting recommendations written for After Effects on the Adobe website, you're very likely quoting me. And this is what I wrote in the Help document:
    "Memory & Multiprocessing preferences":
    "The amount of RAM required for each background process varies depending on your system configuration; at least 1 GB per process is recommended. Optimum performance is achieved with computer systems with at least 2 GB of installed RAM per processor core."
    This blog post gives essentially the same advice, but with more explicit suggestions.
    But, as I say at the bottom of that blog post, if you find that some other settings are working better for you, that's great. Every project and computer system are different. Do what works for you.
    > Also, if it is an
    dual quad core system, there should be 8 cores, but in the
    multi-processer preferences panel it lists CPU's as 16.
    The number of "virtual" processors can be double in a system that uses hyperthreading. After Effects doesn't actually treat these as separate processors in this context, though.

  • ORA-01019: unable to allocate memory in the user side

    hi,
    I have a windows desktop with Win XP. It has a few Oracle software on it.
    Oracle 8i
    Oracle 9i DS Rel2
    Oracle Pl/Sql Dev
    Oracle_Sid is set as the env variable.
    Now when i try to log into sqlplus from bin directory of the 8i database, i have no problems.
    However, when I try to log into sqlplus from 9iDS/bin directory it gives me error saying oracle might not have started properly. I try to log into other 9i DS tools like Translation hub and i get variety of errors like host is not available, etc.
    D:\oracle9ids\bin> sqlplus
    SP2-0642 : SQL* Plus internal error state 2165 context 4294967295 :0 :0
    Unable to proceed
    SP2-0152 : Oracle may not be functioning properly
    With 9iDS Net config assistant, it doesn;t let me add oracle database 8i service name with ORA - 01019 error, when I try to test the connection.

    You need to begin by reading the basic installation and configuration docs related to having multiple Oracle homes.
    http://tahiti.oracle.com
    You will not be successful with Oracle if you do not invest in education and reading.

  • Urgent help with memory issue (ORA-04031)

    Hi Geeks,
    Came Across this below error in alert log in of our databases. Interestingly this error only pops up while the database backup runs. Below are the memory parameters.
    memory_max_target big integer 14G
    memory_target big integer 13G
    pga_aggregate_target big integer 0
    sga_target big integer 0
    shared_pool_reserved_size big integer 192M
    shared_pool_size big integer 0
    ORA-04031: unable to allocate 5792 bytes of shared memory
    ("shared pool","unknown object","sga heap(1,1)","ges resource ")
    Errors in file /apps/opt/oracle/diag/asm/+asm/+ASM1/trace/+ASM1_lmd0_14123.trc
    I have tried specifying a value to shared_pool_size but with no luck..!! Pls help. I am not sure how to resolve this.

    Hi, ORA-4031 in this case can be caused by unrestricted growth of the PGA, thus forcefully reducing the SGA.
    We've had this in the past also.
    The solution is in older versions to increase the shared_pool_size as you mentioned but with ASMM, this is no longer an option. You can however retrict the growth of the PGA by setting SGA_TARGET.
    On our system this now looks like:
    SQL> show parameter _target
    NAME                                 TYPE                 VALUE
    db_flashback_retention_target        integer              1440
    memory_max_target                    big integer          10G
    memory_target                        big integer          10G
    pga_aggregate_target                 big integer          0
    sga_target                           big integer          8GSee how we in fact set the max growth of the PGA to 2Gb ( 10Gb - 8Gb)
    Try this and see if ot works for you also
    Success!!
    FJFranken

  • ORA-29855 - Unable to allocate shared memory

    Hi,
    We are encountering troubles (unable to allocate shared memory) while indexes creation. We tried to increase the share_size_memory (actually 52 mb) but this had no effect on this error. The Oracle error code is ORA-29855.
    The database is version 8.1.7, hosted on a Linux machine (RedHat 7.2) with 512 mb of memory. The code used for the index creation works fine on other machines (code from 9iAS Wireless installation) running with Windows 2000 as operation system.
    Any help or comment will be appreciated.
    Thanks,
    Fabrice Clari.
    The error message is:
    java.sql.SQLException: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13200: internal error [ROWID:AAAGDwAAFAAAAvjAAA] in spatial indexing.
    ORA-13206: internal error [] while creating the spatial index
    ORA-13011: value is out of range
    ORA-00600: internal error code, arguments: [kope2ucoll700], [], [], [], [], [], [], []
    ORA-04031: unable to allocate 16396 bytes of shared memory ("large pool","unknown object","koh-kghu sessi","kolcalm coll")
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 8
    ORA-06512: at line 1

    Which portion of shared memory did you increase? The error indicates you need to increase large_pool_size. It seems you may also have other problems since you have several errors, and this only relates to the ORA-04031 error.

  • ORA-01659: unable to allocate MINEXTENTS beyond...

    Hi All,
    I have created a new table space as
    CREATE SMALLFILE
    TABLESPACE "FIRMGOLD"
    LOGGING
    DATAFILE '/gold3/gold/oradata/GOLD/FIRMGOLD.dbf' SIZE 2048M EXTENT
    MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO
    Then I went for creation of new user as
    CREATE USER "DIIS_FIRM_GOLD" PROFILE "DEFAULT"
    IDENTIFIED BY " DIIS_FIRM_GOLD " DEFAULT TABLESPACE " FIRMGOLD "
    TEMPORARY TABLESPACE "TEMP"
    QUOTA UNLIMITED
    ON " FIRMGOLD "
    ACCOUNT UNLOCK;
    GRANT ALTER ANY TRIGGER TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT ALTER PROFILE TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT ALTER RESOURCE COST TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT ALTER ROLLBACK SEGMENT TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT ALTER SESSION TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT ALTER SYSTEM TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT ALTER TABLESPACE TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT ALTER USER TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT BACKUP ANY TABLE TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT CREATE ANY CLUSTER TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT CREATE ANY INDEX TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT CREATE ANY INDEXTYPE TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT CREATE ANY JOB TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT CREATE ANY LIBRARY TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT CREATE ANY PROCEDURE TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT CREATE ANY SEQUENCE TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT CREATE ANY SYNONYM TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT CREATE ANY TABLE TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT CREATE ANY TRIGGER TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT CREATE ANY VIEW TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT SYSDBA TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION
    GRANT "CONNECT" TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION;
    GRANT "DBA" TO " DIIS_FIRM_GOLD " WITH ADMIN OPTION;
    After creating new user, I went for impdp of the dump(got from the existing user) then I encountered the following error,
    ORA-39171: Job is experiencing a resumable wait.
    ORA-01659: unable to allocate MINEXTENTS beyond 13 in tablespace CKCGOLD1
    I expected the new user “DIIS_FIRM_GOLD” to use the newly created tablespace FIRMGOLD, but instead it used old tablespace CKCGOLD1.
    When I ran the following script
    SELECT TABLESPACE_NAME,SUM(BYTES)/1024/1024 FREE_SPACE
    FROM DBA_FREE_SPACE
    GROUP BY TABLESPACE_NAME
    It returned
    TABLESPACE_NAME FREE_SPACE
    SYSTEM           221.875
    CKCGOLD2           1176.1875
    FAS_GENERAL      957.625
    JEWELGOLD      2038
    USERS           4.5625
    CKCGOLD1_I      1812
    RBS           1999.9375
    FIRMSILVER           1023.9375
    JEWELSILVER           1023.9375
    SYSAUX      21
    CKCGOLD1      26.625
    TABLESPACE_NAME FREE_SPACE
    CKCSILVER1_I      497.875
    FIRMGOLD      2038
    UNDOTBS1           1352.3125
    CKCSILVER1           1124.8125
    My new tablespace FIRMGOLD has not been used.
    Can anyone help me out in this regard.

    Hi,
    The impdp command i used is as below,
    impdp iis_firm_gold/****** REMAP_SCHEMA=iis_1_gold:iis_firm_gold dumpfile=exp_19082007_gold.dmp logfile=imp_19082007_gold_firm.log job_name=IMP_SAM19082007_GOLD_FIRM CONTENT=METADATA_ONLY TRANSFORM=oid:n
    So how should the remap_tablespace be used in the above command?
    U mean like, inserting "REMAP_TABLESPACE=CKCGOLD1:FIRMGOLD" in to my impdp command?
    Regards,
    SAM.

  • ORA-01659: unable to allocate MINEXTENTS beyond 29 in tablespace

    Hi,
    I am importing data into MATRIXDEV schema with the following imp command.
    imp matrixdev/crm FILE=crmodrepodump1.dmp tables=odperf_request_summary INDEXES=N IGNORE=Y STATISTICS=NONE
    But i am getting following error. Even after adding new datafile to the CRMODREPO_DATA table space i am getting same error.
    ORA-01659: unable to allocate MINEXTENTS beyond 29 in tablespace
    Can some one help me in this??
    I have used following exp command for export.
    imp userid=matrixdev/crm file=crmodrepodump1.dmp log=crmodrepodump1.log statistics=NONE indexes=Y tables=odperf_request_summary
    Thanks

    ORA-01659: unable to allocate MINEXTENTS beyond string in tablespace string
    Cause: Failed to find sufficient contiguous space to allocate MINEXTENTS for the segment being created.
    Action: Use ALTER TABLESPACE ADD DATAFILE to add additional space to the tablespace or retry with smaller value for MINEXTENTS, NEXT or PCTINCREASE

  • ORA-01659: unable to allocate MINEXTENTS beyond 28 in tablespace PSAPSR3700

    hi everyone
    When I install ECC6.00 sr3 with oracle&HP-UX
    I come across an error at the set u201Cimport abapu201D
    my oracle version is 10.2.0.4
    my HP-UX is 11-23
    *********************import monitor log********************
    ERROR: 2010-01-22 02:42:37 com.sap.inst.migmon.LoadTask run
    Loading of 'DD03L' import package is interrupted with R3load error.
    Process '/usr/sap/R3T/SYS/exe/run/R3load -i DD03L.cmd -dbcodepage 4102 -l DD03L.
    log -stop_on_error' exited with return code 9.
    For mode details see 'DD03L.log' file.
    Standard error output:
    /usr/lib/hpux64/dld.so: Unable to find library 'libclntsh.so.10.1'.
    'DD03L.log' ****************************
    (DB) ERROR: DDL statement failed
    (DROP INDEX "DD03L~0")
    DbSlExecute: rc = 103
      (SQL error 1418)
      error message returned by DbSl:
    ORA-01418: specified index does not exist
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    DbSl Trace: Error 12801 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-12801 occurred when executing SQL stmt (parse error offset=0)
    (DB) ERROR: DDL statement failed
    (CREATE UNIQUE INDEX "DD03L~0" ON "DD03L" ( "TABNAME", "FIELDNAME", "AS4LOCAL",
    "AS4VERS", "POSITION" ) TABLESPACE PSAPSR3700 STORAGE (INITIAL 712194033 NEXT 0
    000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING
    COMPUTE STATISTICS PARALLEL )
    DbSlExecute: rc = 99
      (SQL error 12801)
      error message returned by DbSl:
    ORA-12801: error signaled in parallel query server P015
    ORA-01659: unable to allocate MINEXTENTS beyond 28 in tablespace PSAPSR3700
    (DB) INFO: disconnected from DB
    ********************tablespace view****************
    Pos.  Tablespace     Type  Status    ExtMan.  SegMan.  Backup  Files/AuExt.
          Total[KB]   Used[%]    Free[KB]  MaxSize[KB]  ExtSize[KB]  FreeExt.    Largest[KB]
      1 - PSAPSR3        DATA  ONLINE    LOCAL    AUTO      NO        20/20 
          41328640     75.99     9922304    204800000     20008960        93     8192000:8192000:3624960+:1157056:866304
      2 - PSAPSR3700     DATA  ONLINE    LOCAL    AUTO      NO        21/21 
          43868160     76.44    10337472    215040000     20008960        44     8151040:8151040:3706880+:2088896:2071488
      3 - PSAPSR3USR     DATA  ONLINE    LOCAL    AUTO      NO         1/1  
             20480      9.38       18560     10240000     10219520         1    10219520+:18560:0:0:0
      4 - PSAPTEMP       TEMP  ONLINE    LOCAL    MANUAL    NO         3/1  
           6144000      0.00     6144000     14336000      8192000         0     8192000+:0:0:0:0
      5 - PSAPUNDO       UNDO  ONLINE    LOCAL    MANUAL    NO         3/1  
           6266880      0.00     6266688     14417920      8151040      4854     8151040+:2083776:2073344:8192:8192
      6 - SYSAUX         DATA  ONLINE    LOCAL    AUTO      NO         1/1  
            204800     24.72      154176     10240000     10035200         1    10035200+:154176:0:0:0
      7 - SYSTEM         DATA  ONLINE    LOCAL    MANUAL    NO         2/2  
           1392640     49.76      699712     20480000     19087360         2     9543680:9543680:696256:3456:0
    I do need yours helps
    any advise will be much appreciated!
    Thanks&Regards
    Peter

    I do not know why the newlines are all missed in my posts
    but in my reply everything goes well
    Does somebody know the reasons?
    **********************************************************8
    When I install ECC6.00 sr3 with oracle&HP-UX
    I come across an error at the set u201Cimport abapu201D
    my oracle version is 10.2.0.4
    my HP-UX is 11-23
    *********************import monitor log********************
    ERROR: 2010-01-22 02:42:37 com.sap.inst.migmon.LoadTask run
    Loading of 'DD03L' import package is interrupted with R3load error.
    Process '/usr/sap/R3T/SYS/exe/run/R3load -i DD03L.cmd -dbcodepage 4102 -l DD03L.
    log -stop_on_error' exited with return code 9.
    For mode details see 'DD03L.log' file.
    Standard error output:
    /usr/lib/hpux64/dld.so: Unable to find library 'libclntsh.so.10.1'.
    'DD03L.log' ****************************
    (DB) ERROR: DDL statement failed
    (DROP INDEX "DD03L~0")
    DbSlExecute: rc = 103
      (SQL error 1418)
      error message returned by DbSl:
    ORA-01418: specified index does not exist
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    DbSl Trace: Error 12801 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-12801 occurred when executing SQL stmt (parse error offset=0)
    (DB) ERROR: DDL statement failed
    (CREATE UNIQUE INDEX "DD03L~0" ON "DD03L" ( "TABNAME", "FIELDNAME", "AS4LOCAL",
    "AS4VERS", "POSITION" ) TABLESPACE PSAPSR3700 STORAGE (INITIAL 712194033 NEXT 0
    000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING
    COMPUTE STATISTICS PARALLEL )
    DbSlExecute: rc = 99
      (SQL error 12801)
      error message returned by DbSl:
    ORA-12801: error signaled in parallel query server P015
    ORA-01659: unable to allocate MINEXTENTS beyond 28 in tablespace PSAPSR3700
    (DB) INFO: disconnected from DB

  • ORA-04031: unable to allocate 64 bytes of shared memory

    Hi All,
    We are performing System copy on a distributed environment with OS Windows 2003 and DB Oracle 10.2.0.4
    While importing the Database (ABAP) only ,we are facing error and 5 import steps are failing  in Import ABAP phase.
    Error is "ORA-00604: error occurred at recursive SQL level 1
    ORA-04031: unable to allocate 4120 bytes of shared memory ("shared pool","select user#,type# from user...","Typecheck","kgghteInit")
    (DB) INFO: disconnected from DB"
    There is already one Oracel Instance OracleXX1 is runing this is the second instance and the server has around 1.75 GB RAM...i
    Can you please suggest what could be the error.
    Regards
    Ajay

    Dears,
    Please try increase your database parameter shared_pool_size in pfile and then try to resume the activity.
    Regards,
    Shivam

  • ORA-04301:Unable to allocate 8144 bytes of shared memory

    I am using 64 bit version of oracle 10g Release 2 (10.2.0.1.0)
    I am randomly getting this error. The full error message is below:
    ORA-04301:Unable to allocate 8144 bytes of shared memory("large pool","COMPANYHISTORY","kxs-heap-w","qesaQBinit:buffer")
    The table name keeps changing as the queries change. Similarly sometimes instead of "large pool" I get "shared pool" in the above message.
    I tried increasing the shared pool size but the problem did not resolve.
    Please help
    Regards
    Madhup

    I have already tried that, but I am not able to solve the problem. Is there a way to compute how much space you should define for the shared pool, the large pool etc.
    Regards
    Madhup

  • Ora-04031 unable to allocate shared memory

    Hi Guru's
    Could some one help me in finding the sql's/program which causing the ora-04031 unable to allocate 3896 bytes of shared memory.
    any suggestion is highly apprciated
    Kind Regards

    You may want to take look at:
    ORA-04031: unable to allocate 4032 bytes of shared memory
    >
    ORA-04031 unable to allocate n bytes of shared memory ("string","string","string","string")
    Cause: More shared memory is needed than was allocated in the shared pool.
    Action: If the shared pool is out of memory, either use the DBMS_SHARED_POOL package to pin large packages, reduce your use of shared memory, or increase the amount of available shared memory by increasing the value of the initialization parameters SHARED_POOL_RESERVED_SIZE and SHARED_POOL_SIZE. If the large pool is out of memory, increase the initialization parameter LARGE_POOL_SIZE.

  • ORACLE error ORA-04031: unable to allocate 16 bytes of memory

    Error
    UDI-04031: operation generated ORACLE error 4031
    ORA-04031: unable to allocate 16 bytes of shared memory ("shared pool","SELECT j
    generated during import operation, using documentation about migration from 10g XE to 11g XE.

    Hello,
    you could try to override the automatic memory management and setup your SGA to be larger by setting SGA_TARGET. If that doesn't help yet, you could even try to configure the memory size for the components in SGA manually, but I guess this won't be necessary.
    After your import is done, I'd recommend to use automatic memory management again.
    See the XE 2 Day DBA for details, especially the section on [url http://download.oracle.com/docs/cd/E17781_01/server.112/e18804/memory.htm#ADMQS174]Managing Memory. It's not a complete guide, but a rough introduction, but it'll probably help you understand the memory concepts in the database.
    Keep in mind that you may only assign 1 GB of memory in total when you setup your memory manually.
    -Udo

  • ORA-04031: unable to allocate 128 bytes of shared memory

    Hi,
    experts i need your advice here,
    in my application we have on so called Master view which has 550 columns, this view is left outer join with 60 other views, something like
    select c1
    from   master_view
             left outer join v1 on --
             left outer join v2 on --
             left outer join v60 the compilation of the master view takes around 140 secs, but when i give grants to other users, or i re compile again, it shows me the error
    ORA-04031: unable to allocate 128 bytes of shared memory plz assist me how i should resolve this issue,
    Regards
    nic

    Hi billy,
    your idea worked big big time,
    i encaspulated all the outer joins views in small small views and finally build mv on each views,
    the master view is plain equijoin, and has only 5 new mvs in its join condition,
    the performance is increased tremendously,
    thanks,
    some times i wonder y i dont get such ides ;-);
    all and all i can say,
    good judgement comes from good experience, but good experience comes from bad judgement...
    Regards
    nic

Maybe you are looking for

  • Airplay after upgrading itunes

    I'm running itunes on a windows Vista pc.  Unfortunately I let itunes install the latest V11 and since then I can't get airplay to work.  Following some googling I've found out it's windows firewall.  If I turn off the firewall all works fine.  The r

  • CMTS uBR10012+RF-Switch N+1 Redundancy

    Hello, I need to know how to cabling a CMTS uBR10012 to a RF-Switch, when we are using four RF modules MC5X20S on the CMTS, to provide the 3+1 Redundancy. There is only one document about RF-Switch Cabling, but it describes the cabling only for ONE R

  • 27" imac display acting as two displays

    Can seem to find the answer to this, results lead to howtos on a dual monitor setup. I'd like to know if I get a 27" imac can I have the monitor act as a dual screen setup. Essentially, I would like my windows to load and act the way they do given my

  • How to run two WebLogic server instances on the same machine

    The setup is to run server instance A with all EJBs and server instance B with all servlets. I edited the weblogic.properties under myserver to include all EJBs and create server2 under \weblogic parallel to myserver and put a new weblogic.properties

  • 11i AP Check PDF Template Issue

    Greetings All ~ Some history: I have been working on trying to find a solution for printing our PDF AP Check Template. I started off using a template that used a Recurrsive template, thought I was golden but then when running with multiple invoices d