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.

Similar Messages

  • 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-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-04031: unable to allocate 4096 bytes if shared memory

    Hello Gurus,
    Did anyone got this type of error before:
    ERROR:
    ORA-20414: Materialized View refresh failed - ORA-12008: error in materialized view refresh path
    ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool","IDX_MIF_SITE","pacdHds_kkpaco","stP_kkpacd: kkpodPacdInit")
    Every sunday full refresh of the data warehouse is scheduled. This sunday it didn't complete and gave us the above error. This can be solved by increasing the shared pool memory size. But DBA doesnot want to increase it every sunday(This has been going on for 3 weeks now) and it's not feasible to increase like this everytime.
    We want to find the actual cause of it and fix?
    Does anyone know the solution or can throw some light on this issue?
    Thanks,
    Sanjay

    We want to find the actual cause of it and fix?The cause is simple - you have run out of memory assigned to the Shared Pool in the SGA.
    The root cause is more of an issue. The Shared Pool is mostly used for keeping the SQL statements and supporting information (such as cursor support). Each unique SQL statement requires it's own area in the shared pool, however identical statements can used the same (shared) area. Shared Pool is also used to store the 'current' data dictionary (table, view, etc.) information. And in some cases, it's also used for 'large' operations such as direct path insert block builds.
    Some of the possible reasons for running out of shared pool might include
    - it's simply undersized;
    - not enough SQL is actually shareable;
    - the large pool has not been allocated.
    That second one is frequent when the application builds up SQL statements by concatenating pieces, including literals (user input) and then executing the unique statement. This is a common technique by developers using .Net, Perl or having SQL Server background. (That mode of operation is very susceptible to SQL Injection.)
    You can get a lot more info from:
    - searching the forum;
    - looking in the docco (Concepts manual and Performance Tuning guide);
    - books, like Tom Kyte's "Expert One on One Oracle", "Effective Oracle By Design", and newer on apress.com

  • ORA-04031: unable to allocate 33568 bytes of shared memory  in Oracle 10g

    Hi,
    I am getting following message frequently while taking export in Oracle 10g database:-
    EXP-00008: ORACLE error 4031 encountered
    ORA-04031: unable to allocate 33568 bytes of shared memory ("shared pool","DBMS_REPCAT_UTL","PL/SQL MPCODE","BAMIMA: Bam Buffer")
    ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_REPCAT_UTL"
    ORA-06512: at "SYS.DBMS_REPCAT_EXP", line 87
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_EXP.schema_info_exp
    EXP-00008: ORACLE error 4031 encountered
    ORA-04031: unable to allocate 16416 bytes of shared memory ("shared pool","SELECT SYNNAM, SYNNAM, SYNTA...","kgghtInit","kgghtInit")
    EXP-00000: Export terminated unsuccessfully
    Whats could be the reason?

    There could be a few reasons causing the problem. From literal message it would look like your shared pool size is small and you need to increase. But the root cause of the problem is a little more complicated than that. I suggest you read metalink doc
    Diagnosing and Resolving Error ORA-04031
    Doc ID: Note:146599.1

  • 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

  • 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 32 bytes of memory :on UPGRADE to 10.2.0.4

    Hi upgraded from 10.2.0.1 to 10.2.0.4 and I consistently start getting this error
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04031: unable to allocate 32 bytes of shared memory ("shared pool","select job, nvl2(l
    ast_date, ...","sql area","tmp")
    even instance crashed couple of times...
    Thanx
    Gagan

    What is the complete message for ORA-04031 (I mean what is there in place of '...'):
    ORA-04031: unable to allocate 32 bytes of shared memory ("shared pool","select job, nvl2(l
    ast_date, ...","sql area","tmp")

  • Error message: ORA-27125: unable to create shared memory segment Linux-x86_

    Hi,
    I am doing an installtion of SAP Netweaver 2004s SR3 on SusE Linux 11/Oracle 10.2
    But i am facing the follow issue in Create Database phase of SAPInst.
    An error occurred while processing service SAP NetWeaver 7.0 Support Release 3 > SAP Systems > Oracle > Central System > Central System( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27125: unable to create shared memory segment Linux-x86_64 Error: 1: Operation not permitted Disconnected
    Please help me to resolve the issue.
    Thanks,
    Nishitha

    Hi Ratnajit,
    I am too facing the same error but my ORACLE is not starting,
    Here are my results of following command:
    cat /etc/sysctl.conf
    # created by /sapmnt/pss-linux/scripts/sysctl.pl on Wed Oct 23 22:55:01 CEST 2013
    fs.inotify.max_user_watches = 65536
    kernel.randomize_va_space = 0
    ##kernel.sem = 1250 256000 100 8192
    kernel.sysrq = 1
    net.ipv4.conf.all.promote_secondaries = 1
    net.ipv4.conf.all.rp_filter = 0
    net.ipv4.conf.default.promote_secondaries = 1
    net.ipv4.icmp_echo_ignore_broadcasts = 1
    net.ipv4.neigh.default.gc_thresh1 = 256
    net.ipv4.neigh.default.gc_thresh2 = 1024
    net.ipv4.neigh.default.gc_thresh3 = 4096
    net.ipv6.neigh.default.gc_thresh1 = 256
    net.ipv6.neigh.default.gc_thresh2 = 1024
    net.ipv6.neigh.default.gc_thresh3 = 4096
    vm.max_map_count = 2000000
    # Modified for SAP on 2013-10-24 07:14:17 UTC
    #kernel.shmall = 2097152
    kernel.shmall = 16515072
    # Modified for SAP on 2013-10-24 07:14:17 UTC
    #kernel.shmmax = 2147483648
    kernel.shmmax = 67645734912
    kernel.shmmni = 4096
    # semaphores: semmsl, semmns, semopm, semmni
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    And here is mine Limit.conf File
    cat /etc/security/limits.conf
    #<domain>      <type>  <item>         <value>
    #*               soft    core            0
    #*               hard    rss             10000
    #@student        hard    nproc           20
    #@faculty        soft    nproc           20
    #@faculty        hard    nproc           50
    #ftp             hard    nproc           0
    #@student        -       maxlogins       4
    # Added for SAP on 2012-03-14 10:38:15 UTC
    #@sapsys          soft    nofile          32800
    #@sapsys          hard    nofile          32800
    #@sdba            soft    nofile          32800
    #@sdba            hard    nofile          32800
    #@dba             soft    nofile          32800
    #@dba             hard    nofile          32800
    # End of file
    # Added for SAP on 2013-10-24
    #               soft    nproc   2047
    #               hard    nproc   16384
    #               soft    nofile  1024
    #               hard    nofile  65536
    @sapsys                 soft   nofile          131072
    @sapsys                 hard   nofile         131072
    @sdba                  soft  nproc          131072
    @sdba                  hard   nproc         131072
    @dba                 soft    core           unlimited
    @dba                 hard     core          unlimited
                      soft     memlock       50000000
                      hard     memlock       50000000
    Here is mine   cat /proc/meminfo
    MemTotal:       33015980 kB
    MemFree:        29890028 kB
    Buffers:           82588 kB
    Cached:          1451480 kB
    SwapCached:            0 kB
    Active:          1920304 kB
    Inactive:         749188 kB
    Active(anon):    1136212 kB
    Inactive(anon):    39128 kB
    Active(file):     784092 kB
    Inactive(file):   710060 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:      33553404 kB
    SwapFree:       33553404 kB
    Dirty:              1888 kB
    Writeback:             0 kB
    AnonPages:       1135436 kB
    Mapped:           161144 kB
    Shmem:             39928 kB
    Slab:              84096 kB
    SReclaimable:      44400 kB
    SUnreclaim:        39696 kB
    KernelStack:        2840 kB
    PageTables:        10544 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:    50061392 kB
    Committed_AS:    1364300 kB
    VmallocTotal:   34359738367 kB
    VmallocUsed:      342156 kB
    VmallocChunk:   34359386308 kB
    HardwareCorrupted:     0 kB
    AnonHugePages:    622592 kB
    HugePages_Total:       0
    HugePages_Free:        0
    HugePages_Rsvd:        0
    HugePages_Surp:        0
    Hugepagesize:       2048 kB
    DirectMap4k:       67584 kB
    DirectMap2M:    33486848 kB
    Please let me know where i am going wrong.
    Wat thing basically u check on /proc/meminfo command
    Regards,
    Dipak

  • ORA-27123 unable to attach shared memory segment

    Running oracle 8.1.5.0.0 on Redhat 6.0 with kernel 2.2.12, I keep getting the error ORA-27123 unable to attach shared memory segment when trying to startup and instance with an SGA > 150 MB or so. I have modified the shmmax and shmall kernel parameters via the /proc/sys interface. The relevant output of ipcs -l is below:
    ------ Shared Memory Limits --------
    max number of segments = 128
    max seg size (kbytes) = 976562
    max total shared memory (kbytes) = 16777216
    min seg size (bytes) = 1
    This system has 2gb of physical memory and is doing nothing except oracle.
    I changed the shmmax and shmall parameters after the instance was created, was their something I needed to do to inform Oracle of the changes?

    High JW,
    i had the same problem on my installation.
    The solution is written in the Oracle8i Administrator Refernece on page 1-26 "Relocating the SGA"
    a) determine the valid adress range for Shared Memory with:
    $ tstshm
    in the output Lowest & Highest SHM indicate the valid adress range
    b) run genksms to generate the file ksms.s
    $ cd $ORACLE_HOME/rdbms/lib
    $ $ORACLE_HOME/bin/genksms -b "sga_beginn_adress" > ksms.s
    c) shut down any instance
    d) rebuilt the oracle exe in $ORACLE_HOME/rdbms/lib
    $ make -f ins_rdbms.mk ksms.o
    $ make -f ins_rdbms.mk ioracle
    the result is a new oracle kernel that loads the SGA at the adress specified in "sga_beginn_adress".
    regards
    Gerhard

  • ORA-04031 unable to allocate 4080 bytes of shared memory

    Hi Everyone,
    The error ORA-04031 has been consistently occuring in our production landscape.
    We have Applied Oracle patches in BI7.0 (2004s - Oracle 10.2.0.2) system as per SAP's suggestions.  (A set of 35 patches as per note 871096)
    (Patches List - 5369855,5253307,6340979,5618049,7133360,5895190,6826661,4704890,6005996,5188321,6447320,3748430,5442919,4952782,5458753,5941030,5345999,6153847,5530958,4883635,5636728,4668719,5635254,5063279,7237154,5103126,4638550,4770693,4864648,6046043,7608184,6729801,5363584,6771608,6435823)
    Applying oracle patches has not resolved this issue.  The error is reoccuring.  Now as per notes 1171650 and 830576 we have tuned in certain parameters.
    We also checked the Notes 869006 and 1120481 but nothing much is helpful. 
    A Go-Live is scheduled this week.  Could you please suggest what further actions need to be taken to identify the issue and resolve it.
    Thanks in advance.
    Best Regards
    Bhupesh

    Hi Stefan / Jens,
    Thanks for the help so far.
    Running the SQL statement produced more than 21000 rows.  We could get an idea as to which statement is using more memory.
    Top 5 statements are as below
    SQL> select * from (SELECT SQL_text, SHARABLE_MEM, PERSISTENT_MEM, RUNTIME_MEM FROM V$SQLAREA ORDER BY SHARABLE_MEM desc) where rownum <=5;
    SQL_TEXT
    SHARABLE_MEM PERSISTENT_MEM RUNTIME_MEM
      select a.segment_type,         round(a.mb,2) size_mb,         round(decode(seg_num,0,0,a.mb/a.seg_num),2) size_avg_mb,         a.seg_num,         a.ext_num,              nvl(b.more100ext,0) more100ext,         decode(lower(a.segment_type),'table',c.com_tab,                                      'index',d.com_ind,                                         'table partition',e.com_tpar,                                    'index partition',f.com_ipar,                         0) compressed,          decode(lower(a.segment_type),'table',g.log_tab,                                      'index',h.log_ind,                                'table partition',i.log_tpar,                                     'index partition',j.log_ipar,                                    'lobsegment',k.log_lob,                                 'lobindex',k.log_lob,                                     0) nologging  from (select segment_type,               nvl(count(*),0) seg_num,                    sum(nvl(bytes,0))/10
         1257431         441584      436528
      select a.username user_name,         a.user_id user_id,         round(nvl(b.mb,0),2) size_mb,         nvl(b.seg,0) segments,         nvl(c.tab,0) tables,     nvl(d.ind,0) indexes,          nvl(b.ext,0) extents,         a.default_tablespace default_tablespace,         a.temporary_tablespace temporary_tablespace,      to_char(a.created, 'dd.mm.yyyy') created,         to_char(a.created, 'hh:mm:ss') created,         a.account_status account_status,         a.profile profile  from    dba_users a,    (select owner, count() seg, sum(nvl(bytes,0))/1024/1024 mb,         sum(nvl(extents,0)) ext     from dba_segments group by owner) b, (select owner, count() tab from dba_segments     where segment_type='TABLE' group by owner) c,    (select owner, count(*) ind from dba_segments     where segment_type='INDEX' group by owner) d  where a.username=b.owner() and     a.username=c.owner() and        a.username=d.owner(+)
          578473         200064      196176
    SELECT count(*) over () as total_count,        sd_xe_ash_nm.event_name,        sd_xe_ash_nm.event_id,        sd_xe_ash_nm.parameter1 as p1text,        (CASE WHEN (sd_xe_ash_nm.parameter1 is NULL                 OR                    sd_xe_ash_nm.parameter1 = '0')              THEN 0              ELSE 1         END) as p1valid,     sd_xe_ash_nm.parameter2 as p2text,        (CASE WHEN (sd_xe_ash_nm.parameter2 is NULL                    OR                    sd_xe_ash_nm.parameter2 = '0')           THEN 0              ELSE 1         END) as p2valid,        sd_xe_ash_nm.parameter3 as p3text,        (CASE WHEN (sd_xe_ash_nm.parameter3 is NULL                         OR                    sd_xe_ash_nm.parameter3 = '0')              THEN 0              ELSE 1         END) as p3valid,        sd_xe_ash_nm.keh_evt_id,        nvl(xc.class#, 0) as class_num,             sd_xe_ash_nm.wait_class_id,        nvl(xc.keh_id, 0) as keh_ecl_id,    sd_xe_ash_nm.ash_cnt,         sd_xe_ash_nm.tot_wts_diff,
          453779         138168      132136
      select    a.name db_name,    round((nvl(b.data_KB,0)nvl(c.temp_KB,0))/1024/1024,2) size_gb,    round((nvl(b.data_KB,0)-nvl(d.data_free,0)             nvl(e.temp_KB_used,0))/1024/1024,2) used_gb,         round((nvl(d.data_free,0)nvl(c.temp_KB,0)-     nvl(e.temp_KB_used,0))/1024/1024,2) free_gb,    to_char(((nvl(b.data_KB,0)-nvl(d.data_free,0)           nvl(e.temp_KB_used,0))/(nvl(b.data_KB,0)+              nvl(c.temp_KB,0)))100, '999') percent_used,    to_char(((nvl(d.data_free,0)nvl(c.temp_KB,0)-           nvl(e.temp_KB_used,0))/(nvl(b.data_KB,0)              nvl(c.temp_KB,0)))100, '999') percent_free,    f.num_seg,    g.num_ts,    h.num_us, to_char((nvl(b.data_KB,0)/(nvl(b.data_KB,0)+             nvl(c.temp_KB,0)))100,'999') percent_data,    to_char((nvl(c.temp_KB,0)/(nvl(b.data_KB,0)+          nvl(c.temp_KB,0)))100,'999') percent_temp,    round(to_char((f.tab_kb/(nvl(b.data_KB,0)+                    nvl(c.temp_KB,0)))*100,'999'),0) percent_tab,    round(to_char((f.
          449213         154968      151184
      select ts,         round(size_mb,2) size_mb,         round(free_mb,2) free_mb,         round(decode(size_mb,0,'',(size_mb-           free_mb)100/size_mb),0) per_used,      autoextensible,         round(total_size_mb,2) tot_size_mb,         round(total_free_mb,2) tot_free_mb,         round(decode(total_size_mb,0,'',(total_size_mb-        total_free_mb)100/total_size_mb),0) per_tot_used,         files,         segments,         extents,         status,         contents  from    (select a.tablespace_name ts,         nvl(c.mb,0)nvl(e.mb,0) size_mb,            decode(lower(a.contents),'temporary',              nvl(e.mb,0)-nvl(f.used_mb,0),nvl(d.free_mb,0))           free_mb,            nvl(c.files,0)nvl(e.files,0) files,            nvl(b.seg,0) segments,            nvl(b.ext,0) extents,         decode(lower(a.contents),'temporary',         decode(sign(nvl(e.tot_mb,0)-nvl(e.mb,0)),1,'YES','NO'),         decode(sign(nvl(c.tot_mb,0)-nvl(c.mb,0)),1,'YES','NO'))
          429595         139184      136072
    SQL>
    Please suggest how to go ahead.
    Thanks & Regards
    Bhupesh

  • ORA-04031: unable to allocate

    hi gurus,
    I am getting the following error whenever try to access database from client side or login to SQL*Plus :
    ora 04031, 00000, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s")"
    But i can login on server and working properly.
    I am using oracle 9i release 1 on win 2k.
    Can any one help me to come out of this problem.
    Thanks
    Regards,
    Raghv

    Thanks Joel to have some time for this post.
    Hope these details will help you to understand the problem.
    How long is the virtual memory of your OS ?Minimum : 744 MB Maximum : 1488 MB
    How long is the RAM memory of the OS ?RAM : 640 MB
    Do you have several instances in the same OS ?No,only single instance
    Details from init.ora file:
    # Cache and I/O
    db_block_size=4096
    db_cache_size=33554432
    # Cursors and Library Cache
    open_cursors=300
    # Network Registration
    instance_name=orcl
    # Pools
    java_pool_size=33554432
    large_pool_size=1048576
    shared_pool_size=33554432
    # Processes and Sessions
    processes=150
    # Redo Log and Recovery
    fast_start_mttr_target=300
    Desired query output :
    SQL> select * from v$shared_pool_reserved;
    no rows selected
    SQL> select * from v$sgastat where name='free memory';
    POOL NAME BYTES
    shared pool free memory 3301916
    large pool free memory 4294613080
    java pool free memory 28954624
    SQL> select sum(bytes) from v$sgastat where pool = 'shared pool';
    SUM(BYTES)
    46137344
    SQL> select sum(bytes) from v$sgastat where pool = 'java pool';
    SUM(BYTES)
    33554432
    SQL> select sum(bytes) from v$sgastat where pool = 'large pool';
    SUM(BYTES)
    4.295E+09
    Regards,
    Raghv

  • 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

  • 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

  • Unable to allocate enough memory to render the current frame

    I am a bit of a novice at AE, just starting to learn. I have googled this, searched these forums and tried all I can think of. No luck. SO I will ask here. 
    I bought this AE file  http://videohive.net/item/-earth-zoom-customize/6451983 
    Here is the error message I get when trying to render
    After Effects error: Unable to allocate enough memory to render the current frame (18172 x 18172 @ 8 bpc). Either decrease the memory requirements for the rendering of this frame, or install more RAM. (12805). For more information, see adobe.com/learn_ae_mem (7 :: 66)
    I even tried to render the project without making any changes. No luck
    My info:
    Macbook pro 15” Mid 2012
    OSX 10.9.2
    Processor 2.6 ghz intel core i7
    Memory: 8 GB 1600 MHz DDR3
    Graphics  NVIDIA GeForce GT 650M 1024 MB
    Running AE CC 12.2.1.5
    First thought, Is my laptop inadequate for this type of work? 
    When it says - (18172 x 18172 @ 8 bpc) is that the resolution it's trying to output? The project is 6 seconds long and 1920x1080 resolution.
    I can render it at half resolution, but not at the 1080 res.
    Thanks for your help.

    Purged cache, set it to purge every 5 frames ... no luck. Purge every frame ... no luck.
    I tried disabling different parts of the clip to render. No luck until I disabled the inner shadow of the globe, and it seems to work.
    What should your purge setting be normally for this ap? I think it was set to "0". SHould I move it back to 0?
    Thanks for your help.

Maybe you are looking for

  • Use OBJCLASS object of Emigall for  Class & characteristics creation in FL

    Hi Fritz, Good day, I want to use OBJCLASS object of Emigall for Class and characteristics cration of Functional Location, The object is desiged for Equipment only, I read the document of this object which says that it can be modify to use for functi

  • Bootcamp will not load Windows installer - No bootable device, insert disk then press any key

    Hello, I recently decided to install bootcamp onto my 2009 27" iMac, I have done this before for other people's computers and I thought it would be no different for my own. However, on attempt to install the Windows disk, instead of starting the inst

  • Photo stream not working in iPhoto

    I enabled icloud in iphoto but only a few photos come thru in "My Photo Stream." My shared photo streams with other people show up but no photos are showing up in the shared streams. It shows 0 photos in all of them but on my devices all my streams (

  • Data load issue after SP 16

    Hi Experts, Recently we have applied SP 16.After applying SP 16 we had an issue in data loadings...my data flow is DSO1 to DSO2 through Expert routine,all other loadings are running fine execpt this load (via Expert routine) its taking loooooooong ti

  • What is the standard IDOC for substation management??

    hi friends.. could you please tell me standard idoc for substation management ? and also tell me standard BAPI for substation management?? please help me.. thanks and regards regards ram