I run out of memory when trying to run a query

I need help with a query. I am trying to extract Total Qty Sold ( and eventually get this data by month), but when I would run the query asking for QTY I get "System Out Of Memory". I removed that party of the query asking for Qty and posted what I came up with below. Any Help is greatly appreciated.
SELECT T0.[ItemCode], T0.[ItemName], T1.[FirmName], T0.[CardCode], T0.[SuppCatNum], T2.[ItmsGrpNam], T0.[U_U_CMG_PROGRAM], T0.[U_U_CMG_CATEG], T0.[U_CMG_STATUS], T0.[U_CMG_STORES], T0.[U_CMG_COLOR], T0.[U_CMG_LOCAT], T0.[MinLevel], T0.[MinOrdrQty]
FROM OITM T0  INNER JOIN OMRC T1 ON T0.FirmCode = T1.FirmCode INNER JOIN OITB T2 ON T0.ItmsGrpCod = T2.ItmsGrpCod

Hi,
Welcome you post on the forum.
Try this fist:
SELECT T0.ItemCode, T0.ItemName, T1.FirmName, T0.CardCode, T0.SuppCatNum, T2.ItmsGrpNam, T0.MinLevel, T0.MinOrdrQty
FROM OITM T0
INNER JOIN OMRC T1 ON T0.FirmCode = T1.FirmCode
INNER JOIN OITB T2 ON T0.ItmsGrpCod = T2.ItmsGrpCod
WHERE T0.ItemCode Like '[%0\]%'
Thanks,
Gordon

Similar Messages

  • Running out of memory when trying to run two VMs

    Hi all,
    I have created a VM (RHEL 5 with Oracle 11g) and cloned it in the same server pool. When i tried to start up the clone, I received the following error:
    Start - /OVS/running_pool/13_OVM_10g_1
    PowerOn Failed : Result - failed:errcode=20000, errmsg=No enough memory to run vm(/OVS/running_pool/13_OVM_10g_1), required memory=2048.
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSSiteVM.py", line 124, in start_vm
    Is there a way to configure more memory for additional VMs?
    Thanks.

    I thought is was not enough physical memory. The server has 4GB of RAM and the BIOS can see it.
    However, the OS only sees 574 MB:
    [root@patchy ~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:           574        228        345          0         16         63
    -/+ buffers/cache:        148        425
    Swap:         1027          0       1027xm info shows 4095MB:
    [root@patchy ~]# xm info
    host                   : patchy
    release                : 2.6.18-128.2.1.4.25.el5xen
    version                : #1 SMP Tue Mar 23 12:43:27 EDT 2010
    machine                : i686
    nr_cpus                : 4
    nr_nodes               : 1
    cores_per_socket       : 1
    threads_per_core       : 2
    cpu_mhz                : 2992
    hw_caps                : bfebfbff:20100800:00000000:00000180:0000641d:00000000:00000000:00000000
    virt_caps              :
    total_memory           : 4095
    free_memory            : 1418
    node_to_cpu            : node0:0-3
    node_to_memory         : node0:1418
    xen_major              : 3
    xen_minor              : 4
    xen_extra              : .0
    xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p
    xen_scheduler          : credit
    xen_pagesize           : 4096
    platform_params        : virt_start=0xff800000
    xen_changeset          : unavailable
    cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
    cc_compile_by          : mockbuild
    cc_compile_domain      : (none)
    cc_compile_date        : Wed Mar 24 16:00:43 EDT 2010
    xend_config_format     : 4xm dmesg shows (only showing partial output to preserve space):
    [root@patchy ~]# xm dmesg
    \ \/ /___ _ __   |___ /| || |  / _ \
      \  // _ \ \047_ \    |_ \| || |_| | | |
      /  \  __/ | | |  ___) |__   _| |_| |
    /_/\_\___|_| |_| |____(_) |_|(_)___/
    (XEN) Xen version 3.4.0 (mockbuild@(none)) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) Wed Mar 24 16:00:43 EDT 2010
    (XEN) Latest ChangeSet: unavailable
    (XEN) Command line: dom0_mem=574M
    (XEN) Xen-e820 RAM map:
    (XEN)  0000000000000000 - 00000000000a0000 (usable)
    (XEN)  0000000000100000 - 00000000dffc0000 (usable)
    (XEN)  00000000dffc0000 - 00000000dffcfc00 (ACPI data)
    (XEN)  00000000dffcfc00 - 00000000dffff000 (reserved)
    (XEN)  00000000e0000000 - 00000000f0000000 (reserved)
    (XEN)  00000000fec00000 - 00000000fec90000 (reserved)
    (XEN)  00000000fed00000 - 00000000fed00400 (reserved)
    (XEN)  00000000fee00000 - 00000000fee10000 (reserved)
    (XEN)  00000000ffb00000 - 0000000100000000 (reserved)
    (XEN)  0000000100000000 - 0000000120000000 (usable)
    (XEN) System RAM: 4095MB (4193664kB)
    (XEN) Detected 2992.646 MHz processor.
    (XEN) CPU0: Intel(R) Xeon(TM) CPU 3.00GHz stepping 03
    (XEN) Booting processor 1/6 eip 8c000
    (XEN) CPU1: Intel(R) Xeon(TM) CPU 3.00GHz stepping 03
    (XEN) Booting processor 2/1 eip 8c000
    (XEN) CPU2: Intel(R) Xeon(TM) CPU 3.00GHz stepping 03
    (XEN) Booting processor 3/7 eip 8c000
    (XEN) CPU3: Intel(R) Xeon(TM) CPU 3.00GHz stepping 03
    (XEN) Total of 4 processors activated.
    (XEN) mm.c:804:d1 Error getting mfn 17e9b (pfn 5555555555555555) from L1 entry 0000000017e9b025 for dom1
    (XEN) mm.c:4224:d1 ptwr_emulate: fixing up invalid PAE PTE 0000000017e9b025I am able to start up one VM, and xm list shows that it has 2GB of memory:
    [root@patchy ~]# xm list
    Name                                        ID   Mem VCPUs      State   Time(s)
    13_OVM_10g_1                                 1  2048     2     -b----     33.6
    Domain-0                                     0   574     4     r-----    100.9When I try to start a clone of the first VM from the VM Manager, it errors out with the following error message:
    Start - /OVS/running_pool/19_10g_clone_1
    PowerOn Failed : Result - failed:errcode=20000, errmsg=No enough memory to run vm(/OVS/running_pool/19_10g_clone_1), required memory=2048.
    StackTrace:
      File "/opt/ovs-agent-2.3/OVSSiteVM.py", line 124, in start_vm
        raise eI'm not sure how Xen handles memory, but I would imagine that dom0 should see all 4GB of RAM.
    How can I make sure that all 4GB of RAM are available?
    Thanks.
    Edited by: Christoph on Jan 5, 2011 8:39 AM

  • Ora-04030 process out of memory when trying to allocate nn bytes..

    Hi,
    Again we are facing the same error after increasing pga_aggregate_target from 2G to 3G, the journal import program request finally results in ora-04030 process out of memory when trying to allocate nn bytes.
    wiil there be any bugs issue?
    DBMS:9.2.0.3
    OS :sun sparc 5.10

    IF possible try to apply last patchset to take your DB to the latest version which should be more reliable and many bugs should be solved.
    Do you have free physical memory to use the 3gb?
    Hope this helps.
    Regards.
    FR.

  • -2147024882 Ran out of memory when trying to use automation open

    Hello,
    I am currently trying to use labview to insert variables into a label template for a brady label printer.
    When I run the VI, the load screen appears for labelview 9, then an error is thrown by the automation open command, saying that the system has run out of memory.
    I do not understand this, as the application is only told to open once, and is not in a loop or anything.
    its driving me absolutely mad, so any help would be greatly appreciated
    Here is the output from the error out:
    "Not enough storage is available to complete this operation. in TEKLYNX Open.vi->TEKLYNX Example.vi"
    (note: TEKLYNX Example.vi is the main VI, all sub vi's will be attached as well)
    Attachments:
    TEKLYNX Example.vi ‏49 KB
    TEKLYNX Open.vi ‏16 KB
    TEKLYNX Document Variables.vi ‏73 KB

    Ran out of attachments, so here are the rest of the sub VI's
    Attachments:
    TEKLYNX Document Print.vi ‏28 KB
    TEKLYNX Document Load.vi ‏16 KB
    TEKLYNX Document Close.vi ‏31 KB

  • How can I avoid running out of memory when creating components dynamically

    Hello everyone,
    Recently, I am planning to design a web application. It will be used by all middle school teachers in a region to make examination papers and it must contain the following main functions.
    1)Generate test questions dynamically. For instance, a teacher who logs on the web application will only see a select one menu and a Next Quiz button. The former is used for determining the number of options for the current multiple/single choice question. The later is dedicated to creating appropriate input text elements according to the selected option number. That is to say, if the teacher selects 4 in the menu and presses the Next Quiz button, 5 input text form elements will appear. The first one is for the question to be asked such as "1.What is the biggest planet in the solar system?", the others are optional answers like a)Uranus. b) Saturn. c)Jupiter. d)Earch. Each answer stands for an input text elements. When the teacher fills in the fourth answer, another select one menu and Next Quiz button will emerge on the fly just under this answer, allowing the teacher to make the second question. The same thing repeats for the following questions.
    2)Undo and Redo. Whenever a teacher wants to roll back or redo what he has done, just press the Undo or[i] Redo button. In the previous example, if the teacher selects the third answer and presses the Delete button to drop this answer, it will delete both the literal string content[i] and the input text element, changing the answer d to c automatically. After that, he decides to get back the original answer c, Jupiter, he can just click the Undo button as if he hadn�ft made the deleting operation.
    3)Save the unfinished working in the client side. If a teacher has done half of his work, he can choose to press the Save button to store what he has done in his computer. The reason for doing so is simply to alleviate the burden of the server. Although all finished test papers must be saved in a database on the server, sometimes the unfinished papers could be dropped forever or could form the ultimate testing papers after several months. So if these papers keep in the server, it will waste the server computer�fs room. Next time the teacher can press the Restore button on the page to get the previously stored part of the test paper from his own computer and continue to finish the whole paper.
    4)Allow at least 1,000 teachers to make test papers at the same time. The maximum question number per examination paper is 60.
    Here are my two rough solutions,
    A.Using JSF.
    B.Using JavaScript and plain JSP[b] without JSF.
    The comparison of the two solutions:
    1)Both schemas can implement the first and the second requirements. In JSF page I could add a standard panelGird tag and use its binding attribute. In the backing bean, the method specified by the binding attribute is responsible for generating HtmlInput objects and adding them to the HtmlPanelGird object on the fly. Every HtmlInput object is corresponding to a question subject or an optional answer. The method is called by an actionListener, which is registered in the Next Quiz commandButton, triggering by the clicking on this button in the client side. Using JSF can also be prone to managing the HtmlInput objects, e.g. panelGird.getChildren().add(HtmlInput) and panelGird.getChildren().remove(HtmlInput) respond to the undoing operation of deleting an optional answer and the redoing operation of the deleting action respectively. I know JavaScript can also achieve these goals. It could be more complex since I don�ft know well about JavaScript.
    2)I can not find a way to meet the third demand right now. I am eager to know your suggestion.
    3)Using JSF, I think, can�ft allow 1,000 teachers to do their own papers at the same time. Because in this scenario, suppose each questionnaire having 60 questions and 4 answers per question, there will be approximately 300,000 HtmlInput objects (1,000X60X(4+1)) creating on the server side. The server must run out of memory undoubtedly. To make things better, we can use a custom component which can be rendered as a whole question including its all optional answers. That is to say, a new custom component on the server side stands for a whole question on the client side. Even so, about 60,000(1,000X60) this type of custom components will be created progressively and dynamically, plus other UISelectOne and UICommand objects, it also can�ft afford for most servers. Do I have to use JavaScript to avoid occupying the server's memory in this way? If so, I have to go back and use JavaScript and plain JSP without JSF.
    Thank you in advance!
    Best Regards, Ailsa
    2007/5/4

    Thank you for your quick response, BalusC. I really appreciate your answer.
    Yes, you are right. If I manually code the same amount of those components in the JSF pages instead of generating them dynamically, the server will still run out of memory. That is to say, JSF pages might not accommodate a great deal of concurrent visiting. If I upgrade the server to just allow 1,000 teachers making their own test papers at the same time, but when over 2,000 students take the same questionnaire simultaneously, the server will need another upgrading. So I have to do what you have told me, using JS+DOM instead of upgrading the server endlessly.
    Best Regards, Ailsa

  • "Error: Out of Memory" when trying to Render

    Hello all,
    I'm editing a project in FCP 5 that is using, in part, .mpeg-4 videos downloaded from the internet. After several weeks on the project with things going fine, the downloaded videos can no longer render. I can see them in the source window, but when laid into the sequence these downloaded videos produce an "Error: Out of Memory" message. Other videos of this type that are already rendered and playing in the existing sequence cannot be re-rendered or adjusted without producing the same Error message.
    A few things to remember...
    1. Other types of rendering, such as filters and fit to fill effects, render just fine.
    2. There is over 30 GBs on the external drive this project is running on.
    3. I've tried resetting scratch disks, transferring the project to another drive, and opening it on a new, super-fast computer, and nothing is different.
    Please help, I'm really stuck in the mud here and am dying to get past this issue,
    Peace,
    Sam

    Did either of you find an answer? I'm running into the S A M E issues. I feel strongly that it has to do with the quicktime update, as editing mp4's worked FINE in January.
    There is a lengthy protocol for trying to circumvent this issue:
    http://discussions.apple.com/thread.jspa?threadID=1413028&tstart=0
    Didn't work for me, but I think it worked for the query. And VLC (http://www.videolan.org/) ended up being the only program I can even VIEW mp4 in now properly.
    So if you can use a viewer, that works.

  • Out of Memory when trying to apply redaction to a document, how can this be fixed?

    I have a user that is trying to redact a document, and when she tries to apply the redaction, she is getting Out of Memory error, any thoughts on this? Is it a computer memory issue or something in the program that I can dump something to make room?  Thanks.
    Yvonne Shaw, CISR
    Technology Operations Manager
    Brunswick Companies

    Hey,
    Please mention the configuration of your system specially CPU and RAM.
    This error usually occurs, if you run too many memory-extensive applications simultaneously. So try performing those redaction tasks after closing some of the background processes/applications
    Hope that helps.
    Regards,
    Rahul

  • Multiclip Nightmare: General Error/Out of Memory when trying to match frame

    I'm an assistant editor on a reality show and am fairly experienced with Final Cut Pro. But I've never seen something like this.
    At our post house, we have over 30 Macs running FCP7, streaming media off a Xserve/Promise RAID SAN via Fiber channel. We create multiclips for everything (it's a reality show) and have run into some weird bugs.
    What's happening is that mutliclips will all-of-a-sudden be unable to match back to the original multiclip. It gives a General Error then an Out of Memory error. Sometimes, after those errors, FCP immediately quits. When I double click the clip in the timeline, I get the same general error. I can, however, match back to the original media clip. But matching back to the multiclip causes the error.
    I can't pinpoint a cause or common element. It's happening to different episodes with different editors and different project files.
    Also, randomly, things will go offline for no reason. And not everything in a timeline, just some things (which makes no since). We can reconnect them quickly since the media drive never went offline in the first place. I mention this because but I'm wondering if both of these problems are common symptoms of corrupt multiclips and if there's a way to fix them. The only element that I can find linking media randomly going offline is that these multiclips had subclips embedded in them. But even that doesn't seem to be a common thread.
    These timelines have been passed around from story editors to editors to AEs then back to editors, so we're thinking these multiclips might be getting corrupted through that process. I don't understand why because everything's looking at the server and all the Macs are pretty much identical.
    What I began to do was recut in each clip on the editor's timeline with the original multiclip. It fixes the problem but it's beyond time consuming to say the least. Now that these errors have come up three times in different places, I'm worried we have a widespread problem and if there's a better way to fix it.
    Details:
    We transcoded all the DVCPRO tapes with AJA Kona Cards to NTSC ProRes (LT) with plans to online the show once we lock
    Everyone's running the latest FCP7 and Snow Leopard release

    Nate Orloff wrote:
    It seems that FCP is making HUGE multiclips. I'm guessing that's the source of the memory error. Some multiclips (the ones it'll let me open) are 9 hours long.
    Interesting... Could be the source of your problem indeed
    And for no reason.
    Are you sure there's no reason? When making multilips there's not one clip's timecode passing 00:00:00:00 for exemple? Or a small clip is also selected with a complete different Timecode? Is it black all 9 hours long? etc.
    There must be something that is causing these long multiclips.
    I agree with Tom (down in this thread) that sending apple feedback with as much detail as possible might be helpfull.
    [FCP feedback|http://www.apple.com/feedback/finalcutpro.html]
    I would also be interested in an XML of one of the culprit clips. Not that I know answers, but looking at it might give some clue.
    Please select one of the wrong multiclips (in the browser). Select File > Export > XML. (version 5, include metadata; Please also make a version 4 XML).
    Send both XML to my email address (in my profile; click on my name in the left column of this post). No promises But you never know...
    Rienk

  • Dreamweaver CS5 out of memory when trying to find and replace

    Please help. I am running Dreamweaver CS5 on a windows 7 os. This has happened in previous versions as well. This is a new computer and a new install. There are no memory shortages on this machine.
    I go to search for something, and select either folder or files in current site. It starts, then flashes the "out of memory" dialog box and stops the search. I have to force quit to leave the program.Over and over. Find and replace of a site or folder is a crucial function I use this program for!
    Thanks for any help
    S

    How big are the combined files in your Local Site folder?
    My guess is that you have something really colossal such as server log files or something else that are causing DW to choke and freeze during its Find / Replace scan.
    If you can identify the really huge files/folders in your site folder, you could use 'cloaking' to exclude them from DW operations.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Running out of memory when I delete apps does it give mee memory back

    I

    When I delete apps on my iPhone 4 with 32g it doesn't free up any memory? I goto settings,general, about and it says 28g used and like 4g free.  I deleted almost all my apps and the memory stayed the same.
    Why am I having this problem and what can I do to fix it? It seems like it is slowing phone down also. Plz help I really don't want to use reset option but if I have to I will.

  • Lightroom 5 permanently runs out of memory

    Lightroom 5 on Windows 7 32 Bit and 8 Gigabytes of memory (more than the 32 Bit system can use) permanently runs out of memory when doing some more complex edits on a RAW file, especially when exporting to 16 Bit TIFF. The RAW files were created by cameras with 10 up to 16 megapixel sensors with bit depths between 12 and 14.
    After exporting one or two images to 16 Bit uncompressed TIFF an error message "Not enough memory" will be displayed and only a Lightroom restart solves that - for the next one to two exports. If an image has much brush stroke edits, every additional stroke takes more and more time to see the result until the image disappears followed by the same "Not enough memory" error message.
    A tab character in the XMP sidecar file is *not* the reason (ensured that), as mentioned in a post. It seems that Lightroom in general does not allocate enough memory and frees too less/late allocated.
    Please fix that bug, it's not productive permanently quit and restart Lightroom when editing/exporting a few RAW files. Versions prior to Lightroom 4 did not have that bug.
    P.S. Posting here, because it was not possible to post it at http://feedback.photoshop.com/photoshop_family/topics/new It's very bad design, to let a user take much time to write and then say: "Log in", but a log in with the Adobe ID and password does not work (creating accounts on Facebook etc. is not an acceptable option, Adobe ID should be enough). Also a bugtracker such as Bugzilla would be a much better tool for improving a software and finding relevant issues to avoid duplicate postings.

    First of all: I personally agree with your comments regarding the feedback webpage. But that is out of our hands since this is a user-to-user forum, and there is nothing we users can do about it.
    Regarding your RAM: You are running Win7 32-bit, so 4 GB of your 8 GB of RAM sit idle since the system cannot use it. And, frankly, 4 GB is very scant for running Lr, considering that the system uses 1 GB of that. So there's only 3 GB for Lr - and that only if you are not running any other programs at the same time.
    Since you have a 8 GB system already, why don't you go for Win7 64-bit. Then you can also install Lr 64-bit and that - together with 8 GB of RAM - will bring a great boost in Lr performance.
    Adobe recommends to run Lr in the 64-bit version. For more on their suggestion on improving Lr performance see here:
    http://helpx.adobe.com/lightroom/kb/performance-hints.html?sdid=KBQWU
    for more: http://forums.adobe.com/thread/1110408?tstart=0

  • ORA-04030: out of process memory when trying to allocate

    Hello Expert,
    I have this error in my production database.
    Database is working fine except busy Hours when running couple of ETL's and Crystal report on it.
    Error : ORA-04030: out of process memory when trying to allocate
    This error comes once in a month with above error
    Instance terminated by CKPT
    Platfrom : Microsoft window server 2003
    Enterprise Edition.
    service pack 1
    Intel (R) Xenon (TM) CPU
    3.00GHz
    2.99 GHz, 15.4 GB of RAM
    Oracle : Oracle Database 10g Enterprise Edition Release 10.2.0.2.0
    TNS for 32-bit Windows: Version 10.2.0.2.0
    SGA and PGA :
    sga_max_size big integer 7008M
    sga_target big integer 0
    pga_aggregate_target big integer 950M
    buffer_pool_keep string
    buffer_pool_recycle string
    global_context_pool_size string
    java_pool_size big integer 152M
    large_pool_size big integer 152M
    olap_page_pool_size big integer 0
    shared_pool_reserved_size big integer 26424115
    shared_pool_size big integer 504M
    streams_pool_size big integer 48M
    sort_area_size integer 524288
    processes integer 500
    Active user : 228
    sort_area_size integer 524288
    Thanks in advance !!
    Dharmesh

    U can go through the link:--
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:5384645520011813599::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,233869.1,1,1,1,helvetica
    Regards,
    Anand

  • Error ORA-04030: out of process memory when trying to allocate 8512 bytes

    Good Afternoon estimated
    I want to see if anyone has the following problem occurred while there are about 70 concurrent connections to the Oracle instance. if anyone has any solution.
    is grateful for the help in advance:
    Dump file d:\oracle\data\admin\ppmdb\bdump\ppmdb_mmon_5032.trc
    Thu Aug 11 09:23:40 2011
    ORACLE V10.2.0.4.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the OLAP, Data Mining and Real Application Testing options
    Windows NT Version V5.2 Service Pack 2
    CPU : 8 - type 586, 1 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5642M/8181M, Ph+PgF:17775M/20246M, VA:9M/2047M
    Instance name: DBMM
    Redo thread mounted by this instance: 1
    Oracle process number: 11
    Windows thread id: 5032, image: ORACLE.EXE (MMON)
    *** 2011-08-11 09:23:40.429
    *** SERVICE NAME:(SYS$BACKGROUND) 2011-08-11 09:23:40.413
    *** SESSION ID:(161.1) 2011-08-11 09:23:40.413
    *** KEWROCISTMTEXEC - encountered error: (ORA-04030: out of process memory when trying to allocate 8512 bytes (pga heap,kgh stack)
    *** SQLSTR: total-len=267, dump-len=240,
    STR={insert into wrh$_sysmetric_history     (snap_id, dbid, instance_number,      begin_time, end_time, intsize, group_id, metric_id, value)  select      :snap_id, :dbid, :instance_number,      begtime, endtime, intsize_csec,      groupid, metri}
    ===============
    Note: This allows us to continue to connect more users and the only way to make new connections is restarting the instance
    I Have Configurate: pga_aggregate_target integer 379584512
    Total System Global Area 1577058304 bytes
    Fixed Size 1299216 bytes
    Variable Size 729812208 bytes
    Database Buffers 838860800 bytes
    Redo Buffers 7086080 bytes
    Thank you for your possible help
    Claudio T.

    804135 wrote:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    Windows NT Version V5.2 Service Pack 2
    Memory (Avail/Total): Ph:5642M/8181M, Ph+PgF:17775M/20246M, VA:9M/2047M
    I Have Configurate: pga_aggregate_target integer 379584512
    Total System Global Area 1577058304 bytesHave a search on this forum (or google) for the error code, there should be lots of previous discussion on this one.
    From no sign of 64-bit in the product banner plus VA (address space) 2 GB (close enough), it looks like the server is running as 32-bit process.
    With SGA + PGA (target) adding up to nearly 1900 MB, my guess is you are hitting the 2 GB per process limit.
    Lower SGA, it should help in the very short term. For longer term: lower resource demands or start planning for migration to 64-bit.

  • Error: ORA-04030: out of process memory when trying to allocate 20060 bytes

    I have tow portioned of query and uniond all it it gives error like ORA-04030: out of process memory when trying to allocate 20060 bytes
    NOTE : PARTY ONE AND PART 2 INDUALY WORKS WELL BUTT IT GIVESS ERROR AT THE TIME OF UNION ALL
    Please i m waiting for sharp response
    -------------------------------------PART ONE START --------------------------------------------------------------------------
    SELECT * FROM
    SELECT
    TO_CHAR(SOURCE) AS SOURCE,
    ORG_ID,
    -- 'HUSSNAIN' AS VENDOR_TYPE,
    INV_PAY_VOUCHER,
    INV_PAY_TYPE,
    INV_PAY_NUM,
    INV_PAY_VEN_ID,
    INV_PAY_VEN_NAME,
    INV_PAY_SITE,
    INV_PAY_DATE,
    INV_PAY_GROSS,
    INV_PAY_AMT,
    INV_PAY_DESC,
    INV_PAY_HTAX,
    INV_AMT,
    INV_GST,
    INV_PAY_AMT INVOICE_AMOUNT,
    INV_GST_T INV_TOTAL_TAX,
    NVL(DEBIT,0) AS DEBIT1,
    NVL(CREDIT,0) AS CREDIT1,
    VENDOR_SITE_NAME AS SITE_CODE,
    INVOICE_DATE,
    CHECK_NUMBER,
    PAYMENT_DATE,
    GL_CODE,
    GL_CODE_DESC,
    SUPPLIER_ID,
    STATUS ,
    COUNT(INV_PAY_DATE) AS TRANSACTION,
    LINE,
    SELECT
    SUM(NVL(VX.DEBIT,0)) - SUM(NVL(VX.CREDIT,0)) OPN_BAL
    FROM XX_AP_INVPAY_COMBINE_V1 VX
    WHERE
    SUBSTR(VX.INV_PAY_DATE,1,10) < TO_DATE(SUBSTR(:P_DATE1,1,10),'YYYY-MM-DD')
    -- AND
    -- SUBSTR(VX.INVOICE_DATE,1,10) < TO_DATE(SUBSTR(:P_DATE_INVOICE1,1,10),'YYYY-MM-DD')
    AND VX.INV_PAY_SITE = nvl(:P_SITE_ID, VX.INV_PAY_SITE)
    AND VX.Vendor_Site_name = nvl(:P_VENDOR_SITE_NAME , VX.Vendor_Site_name)
    AND VX.INV_PAY_VEN_ID = nvl(:P_VEN_ID,INV_PAY_VEN_ID)
    AND VX.ORG_ID = nvl(:P_ORG_ID,ORG_ID)
    AND VX.SOURCE = NVL (:P_TRANSACTION_TYPE,VX.SOURCE)
    AND vx.status = 'Approved'
    AND VX.INV_PAY_SITE =V.INV_PAY_SITE
    AND VX.Vendor_Site_name=V.VENDOR_SITE_NAME
    AND VX.INV_PAY_VEN_ID=V.INV_PAY_VEN_ID
    and vx.status = v.status
    -- AND VX.SOURCE=V.SOURCE
    -- &pwhereclause
    ) AS O_BALANCE_APPROVED,
    SELECT
    SUM(NVL(VX.DEBIT,0)) - SUM(NVL(VX.CREDIT,0)) OPN_BAL
    FROM XX_AP_INVPAY_COMBINE_V1 VX
    WHERE
    SUBSTR(VX.INV_PAY_DATE,1,10) < TO_DATE(SUBSTR(:P_DATE1,1,10),'YYYY-MM-DD')
    -- AND
    -- SUBSTR(VX.INVOICE_DATE,1,10) < TO_DATE(SUBSTR(:P_DATE_INVOICE1,1,10),'YYYY-MM-DD')
    AND VX.INV_PAY_SITE = nvl(:P_SITE_ID, VX.INV_PAY_SITE)
    AND VX.Vendor_Site_name = nvl(:P_VENDOR_SITE_NAME , VX.Vendor_Site_name)
    AND VX.INV_PAY_VEN_ID = nvl(:P_VEN_ID,INV_PAY_VEN_ID)
    AND VX.ORG_ID = nvl(:P_ORG_ID,ORG_ID)
    AND VX.SOURCE = NVL (:P_TRANSACTION_TYPE,VX.SOURCE)
    and vx.status = 'Unapproved'
    AND VX.INV_PAY_SITE =V.INV_PAY_SITE
    AND VX.Vendor_Site_name=V.VENDOR_SITE_NAME
    AND VX.INV_PAY_VEN_ID=V.INV_PAY_VEN_ID
    and vx.status = v.status
    -- AND VX.SOURCE=V.SOURCE
    -- &pwhereclause
    ) AS O_BALANCE_UPAPPROVED,
    SELECT
    SUM(NVL(VX.DEBIT,0)) - SUM(NVL(VX.CREDIT,0)) OPN_BAL
    FROM XX_AP_INVPAY_COMBINE_V1 VX
    WHERE
    SUBSTR(VX.INV_PAY_DATE,1,10) < TO_DATE(SUBSTR(:P_DATE1,1,10),'YYYY-MM-DD')
    -- AND SUBSTR(VX.INVOICE_DATE,1,10) < TO_DATE(SUBSTR(:P_DATE_INVOICE1,1,10),'YYYY-MM-DD')
    AND VX.INV_PAY_SITE = nvl(:P_SITE_ID, VX.INV_PAY_SITE)
    AND VX.Vendor_Site_name = nvl(:P_VENDOR_SITE_NAME , VX.Vendor_Site_name)
    AND VX.INV_PAY_VEN_ID=nvl(:P_VEN_ID,INV_PAY_VEN_ID)
    AND VX.ORG_ID = NVL(:P_ORG_ID,ORG_ID)
    AND VX.SOURCE = NVL (:P_TRANSACTION_TYPE,VX.SOURCE)
    AND vx.status = v.status
    AND VX.INV_PAY_SITE =V.INV_PAY_SITE
    AND VX.Vendor_Site_name=V.VENDOR_SITE_NAME
    AND VX.INV_PAY_VEN_ID=V.INV_PAY_VEN_ID
    -- AND VX.SOURCE=V.SOURCE
    -- &pwhereclause
    ) AS O_BALANCE
    FROM XX_AP_INVPAY_COMBINE_V1 V
    WHERE
    SUBSTR (V.INV_PAY_DATE,1,10) BETWEEN NVL( TO_DATE(SUBSTR(:P_DATE1,1,10),'YYYY-MM-DD'),SUBSTR(V.INV_PAY_DATE,1,10)) AND nvl(TO_DATE(SUBSTR(:P_DATE2,1,10),'YYYY-MM-DD') ,SUBSTR(V.INV_PAY_DATE,1,10))
    -- AND
    -- SUBSTR(V.INVOICE_DATE,1,10) BETWEEN nvl( TO_DATE(SUBSTR(:P_DATE_INVOICE1,1,10),'YYYY-MM-DD'),SUBSTR(V.INVOICE_DATE,1,10)) AND nvl(TO_DATE(SUBSTR(:P_DATE_INVOICE2,1,10),'YYYY-MM-DD') ,SUBSTR(V.INVOICE_DATE,1,10))
    AND V.INV_PAY_SITE=nvl(:P_SITE_ID,INV_PAY_SITE)
    AND V.VENDOR_SITE_NAME = NVL(:P_VENDOR_SITE_NAME , V.VENDOR_SITE_NAME)
    AND V.INV_PAY_VEN_ID=nvl(:P_VEN_ID,V.INV_PAY_VEN_ID)
    AND V.ORG_ID=nvl(:P_ORG_ID,V.ORG_ID)
    AND V.SOURCE = NVL (:P_TRANSACTION_TYPE,V.SOURCE)
    -- ORDER BY INV_PAY_DATE,CHECK_NUMBER,INV_PAY_VOUCHER asc ,Debit1 desc ,credit1 DESC
    GROUP BY
    SOURCE,
    ORG_ID,
    -- 'HUSSNAIN' AS VENDOR_TYPE,
    INV_PAY_VOUCHER,
    INV_PAY_TYPE,
    INV_PAY_NUM,
    INV_PAY_VEN_ID,
    INV_PAY_VEN_NAME,
    INV_PAY_SITE,
    INV_PAY_DATE,
    INV_PAY_GROSS,
    INV_PAY_AMT,
    INV_PAY_DESC,
    INV_PAY_HTAX,
    INV_AMT,
    INV_GST,
    INV_PAY_AMT,
    INV_GST_T,
    DEBIT,
    CREDIT,
    VENDOR_SITE_NAME,
    INVOICE_DATE,
    CHECK_NUMBER,
    PAYMENT_DATE,
    GL_CODE,
    GL_CODE_DESC,
    SUPPLIER_ID,
    STATUS,
    LINE
    ORDER BY
    INV_PAY_DATE,
    CHECK_NUMBER,
    --V.SOURCE asc,
    INV_PAY_NUM,
    LINE,
    --INV_PAY_DESC,
    INV_PAY_VOUCHER
    ) A
    -------------------------------------PART ONE END --------------------------------------------------------------------------
    -------------------------------------PART TWO START --------------------------------------------------------------------------
    UNION ALL
    SELECT * FROM
    SELECT * FROM
    SELECT
    DISTINCT
    NULL AS SOURCE,
    ORG_ID,
    NULL AS INV_PAY_VOUCHER,
    NULL AS INV_PAY_TYPE,
    NULL AS INV_PAY_NUM,
    INV_PAY_VEN_ID,
    INV_PAY_VEN_NAME,
    INV_PAY_SITE,
    NULL AS INV_PAY_DATE,
    NULL AS INV_PAY_GROSS,
    NULL AS INV_PAY_AMT,
    NULL AS INV_PAY_DESC,
    NULL AS INV_PAY_HTAX,
    NULL AS INV_AMT,
    NULL AS INV_GST,
    NULL AS INVOICE_AMOUNT,
    NULL AS INV_TOTAL_TAX,
    NULL AS DEBIT1,
    NULL AS CREDIT1,
    NULL AS SITE_CODE,
    NULL AS INVOICE_DATE,
    NULL AS CHECK_NUMBER,
    NULL AS PAYMENT_DATE,
    NULL AS GL_CODE,
    NULL AS GL_CODE_DESC,
    SUPPLIER_ID,
    NULL AS STATUS ,
    NULL AS TRANSACTION,
    NULL AS LINE,
    SELECT
    SUM(NVL(VX.DEBIT,0)) - SUM(NVL(VX.CREDIT,0)) OPN_BAL
    FROM XX_AP_INVPAY_COMBINE_V1_OP VX
    WHERE
    SUBSTR(VX.INV_PAY_DATE,1,10) < TO_DATE(SUBSTR(:P_DATE1,1,10),'YYYY-MM-DD')
    -- AND
    -- SUBSTR(VX.INVOICE_DATE,1,10) < TO_DATE(SUBSTR(:P_DATE_INVOICE1,1,10),'YYYY-MM-DD')
    AND VX.INV_PAY_SITE = nvl(:P_SITE_ID, VX.INV_PAY_SITE)
    AND VX.Vendor_Site_name = nvl(:P_VENDOR_SITE_NAME , VX.Vendor_Site_name)
    AND VX.INV_PAY_VEN_ID = nvl(:P_VEN_ID,INV_PAY_VEN_ID)
    AND VX.ORG_ID = nvl(:P_ORG_ID,ORG_ID)
    AND VX.SOURCE = NVL (:P_TRANSACTION_TYPE,VX.SOURCE)
    AND vx.status = 'Approved'
    AND VX.INV_PAY_SITE =V.INV_PAY_SITE
    AND VX.Vendor_Site_name=V.VENDOR_SITE_NAME
    AND VX.INV_PAY_VEN_ID=V.INV_PAY_VEN_ID
    and vx.status = v.status
    -- AND VX.SOURCE=V.SOURCE
    -- &pwhereclause
    ) AS O_BALANCE_APPROVED,
    SELECT
    SUM(NVL(VX.DEBIT,0)) - SUM(NVL(VX.CREDIT,0)) OPN_BAL
    FROM XX_AP_INVPAY_COMBINE_V1_OP VX
    WHERE
    SUBSTR(VX.INV_PAY_DATE,1,10) < TO_DATE(SUBSTR(:P_DATE1,1,10),'YYYY-MM-DD')
    -- AND
    -- SUBSTR(VX.INVOICE_DATE,1,10) < TO_DATE(SUBSTR(:P_DATE_INVOICE1,1,10),'YYYY-MM-DD')
    AND VX.INV_PAY_SITE = nvl(:P_SITE_ID, VX.INV_PAY_SITE)
    AND VX.Vendor_Site_name = nvl(:P_VENDOR_SITE_NAME , VX.Vendor_Site_name)
    AND VX.INV_PAY_VEN_ID = nvl(:P_VEN_ID,INV_PAY_VEN_ID)
    AND VX.ORG_ID = nvl(:P_ORG_ID,ORG_ID)
    AND VX.SOURCE = NVL (:P_TRANSACTION_TYPE,VX.SOURCE)
    and vx.status = 'Unapproved'
    AND VX.INV_PAY_SITE =V.INV_PAY_SITE
    AND VX.Vendor_Site_name=V.VENDOR_SITE_NAME
    AND VX.INV_PAY_VEN_ID=V.INV_PAY_VEN_ID
    and vx.status = v.status
    -- AND VX.SOURCE=V.SOURCE
    -- &pwhereclause
    ) AS O_BALANCE_UPAPPROVED,
    (SUM(NVL(V.DEBIT,0)) - SUM(NVL(V.CREDIT,0))) AS O_BALANCE
    FROM XX_AP_INVPAY_COMBINE_V1_OP V
    WHERE
    SUBSTR(V.INV_PAY_DATE,1,10) < TO_DATE(SUBSTR(:P_DATE1,1,10),'YYYY-MM-DD')
    AND V.INV_PAY_SITE=nvl(:P_SITE_ID,INV_PAY_SITE)
    AND V.VENDOR_SITE_NAME = NVL(:P_VENDOR_SITE_NAME , V.VENDOR_SITE_NAME)
    AND V.INV_PAY_VEN_ID=nvl(:P_VEN_ID,V.INV_PAY_VEN_ID)
    AND V.ORG_ID=nvl(:P_ORG_ID,V.ORG_ID)
    AND
    ( (SELECT (SUM(NVL(V.DEBIT,0)) - SUM(NVL(V.CREDIT,0))) FROM XX_AP_INVPAY_COMBINE_V1_OP V
    WHERE
    SUBSTR (V.INV_PAY_DATE,1,10) BETWEEN NVL( TO_DATE(SUBSTR(:P_DATE1,1,10),'YYYY-MM-DD'),SUBSTR(V.INV_PAY_DATE,1,10)) AND nvl(TO_DATE(SUBSTR(:P_DATE2,1,10),'YYYY-MM-DD') ,SUBSTR(V.INV_PAY_DATE,1,10))
    -- AND
    -- SUBSTR(V.INVOICE_DATE,1,10) BETWEEN nvl( TO_DATE(SUBSTR(:P_DATE_INVOICE1,1,10),'YYYY-MM-DD'),SUBSTR(V.INVOICE_DATE,1,10)) AND nvl(TO_DATE(SUBSTR(:P_DATE_INVOICE2,1,10),'YYYY-MM-DD') ,SUBSTR(V.INVOICE_DATE,1,10))
    AND V.INV_PAY_SITE=nvl(:P_SITE_ID,INV_PAY_SITE)
    AND V.VENDOR_SITE_NAME = NVL(:P_VENDOR_SITE_NAME , V.VENDOR_SITE_NAME)
    AND V.INV_PAY_VEN_ID=nvl(:P_VEN_ID,V.INV_PAY_VEN_ID)
    AND V.ORG_ID=nvl(:P_ORG_ID,V.ORG_ID)
    AND V.SOURCE = NVL (:P_TRANSACTION_TYPE,V.SOURCE)) IS NULL
    GROUP BY
    ORG_ID,
    INV_PAY_VEN_ID,
    INV_PAY_VEN_NAME,
    INV_PAY_SITE,
    SUPPLIER_ID,
    V.VENDOR_SITE_NAME,
    V.STATUS
    --UNION ALL
    ) B
    -------------------------------------PART TWO END --------------------------------------------------------------------------

    Hi,
    This error is typically associated with the OS being unable to allocate any more memory to a process. It typically manifests itself in 32 bit operating systems, especially Windows, where processes are limited to a maximum 2Gb, but with the way memory is allocated, 1.5Gb tends to be a more realistic limit. With an Oracle instance this means that the total memory requirements, SGA and PGA, should not exceed about 1.5Gb. In Windows, because connection processes also run as threads of the server process, these are also part of the calculation.
    The way then to avoid, or at least reduce this error, is to reduce the memory requirements of the database instance. Also, because some operating systems do not release unused process memory very easily, regular bounces of the database may also help avoid the error, provided you have the luxury to do this.
    The long term fix to this error would be to upgrade to a 64 bit operating system, where this limit is greatly increased. There is also a feature of 32 bit windows that can be added (forget what its called) that increases the 2Gb limit to 3Gb.
    Regards
    Andre

  • ERR ORA-04030: out of process memory when trying to allocate 1425792 bytes

    Hi Guru's,
    There is an error for me when running some requests
    ERR ORA-04030: out of process memory when trying to allocate 1425792 bytes .
    For this problem I want to increase my SGA memory OR RAM Memory.
    Now server is running On 6GB RAM
    Regards
    ***SBJ***
    Edited by: user13098774 on Dec 12, 2010 12:56 AM

    Hi,
    Please see these docs.
    Getting Started with ORA-4030 Diagnostics [ID 863562.1]
    Diagnosing and Resolving ORA-4030 errors [ID 233869.1]
    Also, make sure you have the initialization parameters set as per these docs (depends on your Apps version).
    Database Initialization Parameters for Oracle Applications Release 12 [ID 396009.1]
    Database Initialization Parameters for Oracle Applications Release 11i [ID 216205.1]
    Thanks,
    Hussein

Maybe you are looking for

  • Cannot connect to scanner or reinstall software

    Recenlty my  Office Jet 7210 AIO would no longer connect for scanning. I ran the HP HP Print and Scan Doctor Diagnostics tool and it sees the scanner just fine, but tells me I need to reinstall the HP Solutions software. I have tried several times to

  • PI 7.1 - Can't start config tool

    All, I just installed PI 7.1 (CI), MaxDB 7.7 on Solaris 10; ABAP and Java are up but I can't start the config tool; I am getting the following error message: so10sap2:nw2adm> /usr/sap/NW2/DVEBMGS01/j2ee/configtool/configtool.sh Exception in thread "m

  • Appling Ext. Embedded Fonts to Text

    Hi All, I am spinning here. I believe I am missing the intermediate step of getting/creating a font obj to apply to the text format. The TLFTextField (instance name Label) was created on stage and has _typewriter font set. It is in movieclip instance

  • Automatic assignments of accounts were missed(ao90)

    Hi All, Can you please guide me how to assign automatic assignment of accounts which are configured in AO90.. the error is 700 assets were desposed in one invoice where customer is debited and 700 assets were credited with same GL account as a machin

  • Why does only a spinning gear appear on the 'Home' page of the Creative Cloud window?

    When I click on the icon for Creative Cloud on the toolbar, it opens in the 'Home' window and a spinning gear appears. It does not disappear until I click on another page, such as 'Apps,' "Files,' etc.