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

Similar Messages

  • 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.

  • "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.

  • 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

  • -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

  • 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

  • Pages hangs when I do "Find and Replace"

    Three times in the last month, Pages '08 has frozen on me when trying to do a simple search-and-replace in a document. The document was imported as a Word doc, and had (scattered throughout it) some straight quotes. In the past, I have been able to do a search-and-replace of all the quotes within the document, and it would replace them with smart quotes. But for about a month now, doing that causes Pages '08 to choke. I left it all night long once, and in over eight hours it still was frozen with the spinning beach ball. This is a recent development, and sadly, I don't have free support any more. I tried repairing permissions, and the did not help anything.
    Any ideas, anyone??

    If you download WordService, free from http://www.devon-technologies.com/download/index.html you can easily change your quotes by selecting all and in the Services menu click on Smart Quotes. WordService will also reformat, change cases, remove links, extra returns, extra spaces, and much, much more.
    Walt

  • 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

  • How to resolve this Error ORA-04030: out of process memory when trying to a

    Hi
    I am connecting as a sysdba and trying to execute a query on the V$Logmnr_contents but getting the following Error
    ORA-04030: out of process memory when trying to allocate 408 bytes (T-LCR
    structs,krvuinl_InitNewLcr)
    Can anyone guide me how to resolve this issue.
    Thanks

    Hi,
    As root user, edit the /etc/sysconfigtab file, and try to set the udp_recvspace parameter to 262144 and reboot the machine :
    inet:
    udp_recvspace = 262144
    Metalink note 297030.1 Ora-04030 During Execution Of LogMiner Query
    Nicolas.

  • 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

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

    Hi All,
    I have executed this query on my db for using flash back features:
    select * from flashback_transaction_query where table_owner='USERNAME'
    However, it throws the error after being executed for 5 min:
    ORA-04030: out of process memory when trying to allocate 268 bytes (Logminer LCR c,krvxbpdl)
    Please help me in understading the error and provide some links/docs to resolve this.
    Thanks,
    Kishore

    That's the error description:
    What does an ORA-4030 mean?
    This error indicates that the oracle server process is unable to allocate more memory from the operating system.This memory consists of the PGA (Program Global Area) and its contents depend upon the server configuration.For dedicated server processes it contains the stack and the UGA (User Global Area) which holds user session data, cursor information and the sort area. In a multithreaded configuration (shared server), the UGA is allocated in the SGA (System Global Area) and will not be responsible for ORA-4030 errors.
    The ORA-4030 thus indicates the process needs more memory (stack UGA or PGA) to perform its job.
    On metalink:
    Diagnosing and Resolving ORA-4030 errors
    Doc ID: Note:233869.1
    Werner

  • 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

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

    I had encountered a problem while i'm trying to compile a package. The error is : Error: ORA-04030: out of process memory when trying to allocate 639232 byte. Pls advice what can i do?
    Thanks

    OK, it looks like there's something else that's hogging your memory on that server. What do you see when you go into Task Manager, then select Processes, and then 'Mem Usage'?
    Edit:
    Although this would appear to be high: Max PGA Allocated:1.66GB
    What are your settings for pga_aggregate_target, and workarea_size_policy?

Maybe you are looking for