Query is allocating too large memory

I’m building an Analysis in OBIEE against an ASO cube and am seeing the following error:
Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits
The report we’re trying to build is intended to show information from eight dimensions. However, when I try to add just a few of the dimensions we get the “Query is allocating too large memory” error. Even if I filter down the information so that I only have 1 or 2 rows in the Analysis I get the error. It seems like there is something wrong that is causing our queries to become so bloated. We're using OBIEE 11.1.1.6.0.
Any help would be appreciated.

950121 wrote:
I’m building an Analysis in OBIEE against an ASO cube and am seeing the following error:
Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits
The report we’re trying to build is intended to show information from eight dimensions. However, when I try to add just a few of the dimensions we get the “Query is allocating too large memory” error. Even if I filter down the information so that I only have 1 or 2 rows in the Analysis I get the error. It seems like there is something wrong that is causing our queries to become so bloated. We're using OBIEE 11.1.1.6.0.
Any help would be appreciated.Hi,
This sounds like a known Bug 13331507 : RFA - DEBUGGING 'QUERY IS ALLOCATING TOO LARGE MEMORY ( > 4GB)' FROM ESSBASE.
Cause:
A filter has been added in several lines in the 'Data Filters' Tab of the 'Users Permissions' Screen in the Administration Tool (click on Manage and then Identity menu items). This caused the MDX Filter statement to be added several times to the MDX issues to the underlying Database, which in turn caused too much memory to be used in processing the request.
Refer to Doc ID: 1389873.1 for more information on My Oracle Support.

Similar Messages

  • Query is allocating too large memory error in OBIEE 11g

    Hi ,
    We have one pivot table(A) in our dashboard displaying , revenue against a Entity Hierarchy (i.e we have 8 levels under the hierarchy) And we have another pivot table (B) displaying revenue against a customer hierarchy (3 levels under it) .
    Both tables running fine under our OBIEE 11.1.1.6 environment (windows) .
    After deploying the same code (RPD&catalog) in a unix OBIEE 11.1.1.6 server , its throwing the below error ,while populating Pivot table A :
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    *State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 96002] Essbase Error: Internal error: Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits. (HY000)*
    But , pivot table B is running fine . Help please !!!!!
    data source used : essbase 11.1.2.1
    Thanks
    sayak

    Hi Dpka ,
    Yes ! we are hitting a seperate essbase server with Linux OBIEE enviorement .
    I'll execute the query in essbase and get back to you !!
    Thanks
    sayak

  • Query is allocating too large memory Error ( 4GB) in Essbase 11.1.2

    Hi All,
    Currently we are preparing dashboards in OBIEE from the Hyperion Essbase ASO (11.1.2) Cubes.When are trying to retrieve data with more attributes we are facing the below error
    "Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 96002] Essbase Error: Internal error: Query is allocating too large memory ( > 4GB) and cannot be executed. Query allocation exceeds allocation limits. (HY000)"
    Currently we have data file size less than 2GB so we are using "Pending Cache Size=64MB".
    Please let me know which memory I have to increase to resolve this issue
    Thanks,
    SatyaB

    Hi,
    Do you have any dynamic hierarchies? What is the size of the data set?
    Thanks,
    Nathan

  • Query throwing Exception as 'Query too large'

    HI,
    AM working on BI Content 7.
    I have created a query and the query name is TEST_RA_0064.
    when i am executing this query in the Analyser it is throwing the below mentioned errors.
    1. Query TEST_RA_0064 is too large.
    2. Program error in class SAPMSSY1 method:UNCAUGHT_EXCEPTION.
    Please help me.
    Thanks,
    Rajesh janardanan

    Execute this query via RSRT - for investigation purpose..
    Check for the detailed error message here.
    Hope it Helps
    Chetan
    @CP..

  • Query Error Information: Result set is too large; data retrieval ......

    Hi Experts,
    I got one problem with my query information. when Im executing my report and drill my info in my navigation panel, Instead of a table with values the message "Result set is too large; data retrieval restricted by configuration" appears. I already applied "Note 1127156 - Safety belt: Result set is too large". I imported Support Package 13 for SAP NetWeaver 7. 0 BI Java (BIIBC13_0.SCA / BIBASES13_0.SCA / BIWEBAPP13_0.SCA) and executed the program SAP_RSADMIN_MAINTAIN (in transaction SE38), with the object and the value like Note 1127156 says... but the problem still appears....
    what Should I be missing ??????  How can I fix this issue ????
    Thank you very much for helping me out..... (Any help would be rewarded)
    David Corté

    You may ask your basis guy to increase ESM buffer (rsdb/esm/buffersize_kb). Did you check the systems memory?
    Did you try to check the error dump using ST22 - Runtime error analysis?
    Edited by: ashok saha on Feb 27, 2008 10:27 PM

  • Requested buffer too large - but data is already in memory

    Hello all,
    I am writing a program that generates sound and then uses the Java Sound API to play it back over the speakers. Until recently, using clips have not led to any problems. On two computers I can play the sound without a hitch. However, on the newest computer (and also with the largest specs and especially more RAM), I am getting an error while trying to play back the sound. The exception that is thrown is:
    javax.sound.sampled.LineUnavailableException: Failed to allocate clip data: Requested buffer too large.
    I find this odd because the buffer already exists in memory: I don't have to read in a .wav file or anything because I am creating the audio during the course of my program's execution (this is also why I use Clips instead of streaming - the values are saved as doubles during the calculations and then converted into a byte array, which is the buffer that is used in the clip.open() method call). It has no problems allocating the double array, the byte array, or populating the byte array. It is only thrown during clip.open() call. I also find it strange that it would work on two other computers, both of which have less RAM (it runs fine on a machine with 512MB and 2GB of RAM, both XP 32-bit). The only difference is that the computer with the issue is running Windows 7 (the RTM build), 64-bit with 6GB of RAM. I am running it through Netbeans 6.7.1 with memory options set to use up to 512MB - but it's never gone up that far before. And I've checked the size of the buffer on all three computers and they are all the same.
    Does anyone know what the issue could be or how to resolve it? I am using JDK6 if that matters. Thank you for your time.
    Edited by: Sengin on Sep 18, 2009 9:40 PM

    Thanks for your answer. I'll try that.
    I figured it had something to do with Windows 7 since it technically hasn't been released yet (however I have the RTM version thanks to a group at my univeristy in cahoots with Microsoft which allows some students to get various Microsoft products for $12).
    Edit: I just changed the Clip to a SourceDataLine (and the few other necessary changes like changing the way the DataLine.Info object was created) and wrote the whole buffer into it, drained the line and then closed it. It works fine. I'll mark the question as answered, however that may not be the "correct" answer (perhaps it does have something to do with Windows 7 and not being completely tested yet). Thanks.
    Edited by: Sengin on Sep 21, 2009 8:44 PM
    Edited by: Sengin on Sep 21, 2009 8:46 PM

  • Bex Report Error -- Query is Too Large

    Hello I am Using Hierarchies in Rows and in Columns Company Wise, Quarter Month Wise Values
    I am Using 310 Rows and 100 columns As this is Summary Report I cannot go for Filters and I cannot
    Decrease Keyfigures is there any solution for this , Please give me the valuable suggestion for this query.

    If the query is too large and you are running out of memory, then either you should run the report with smaller selection (may be year -wise) or increase your server parametres like memory space etc.

  • HT1229 My iPhoto Library (version 8.1.2) is 280GB (greater than 50% of my 500GB total storage memory on my iMac.  It was too large for me to drag it to a new hard drive so the Apple geniuses did it for me.  However they did not delete the Library from my

    My iPhoto Library (version 8.1.2) is 280GB (greater than 50% of my 500GB total storage memory on my iMac.  It was too large for me to drag it to a new hard drive so the Apple geniuses did it for me.  However they did not delete the Library from my iMac (that's my responsibility).  I dragged it to Trash and when it started to move I clicked over to the new hard drive to confirm it had indeed been copied.  I became nervous when I didn't see among the few files on this otherwise empty new hard drive anything that resembled a 280GB Library so I cancelled the migration to trash.
    How can I be sure that my iphoto has been copied and that all my "metadata" survived in tact?

    the new backup drive
    I thought the new drive would be your data drive to host the iPhoto library. Do you also use it for TimeMachine backups?
    I am unable to search either in email as well as Finder.  I AM able to search within iPhoto though, thankfully
    Spotlight may still be busy rebuildig its index.
    You could try to rebuild the Spotlight Index, if you do see no progress:
    Spotlight: How to re-index folders or volumes
    I hope, other frequent posters will drop in. I have not used iPhoto 8.x in long time.

  • Is there a reliable method for detecting that a query is too large?

    I am writing some code (that uses OCI) to properly detect when a query string is too long for OCI and/or the Oracle database server. I can't find any specific error code information in the docs, so I just started firing off large queries to see what would happen.
    The queries I am sending are >2MB in size, up to 16MB. If the queries are above ~10MB, I get the error "ORA-03113 'End-of-file on communications channel'" after a fairly short amount of time (i.e. not enough for a timeout to expire). If the queries are below ~10MB, but above ~2.5MB, it either just sits there and does not do anything (for more than 15 hours). So watching for ORA-03113 when executing large queries does not seem like a very reliable method for detecting the queries that are too large.
    Does anyone know of a reliable way of detecting that a query is too large for the OCI client and/or the Oracle database server?
    I am using version 10.2.0.1 for both the OCI client and the Oracle database server, but I'm getting similar errors for combinations of 10.2.0.1 and 9.2.0.7 for both the OCI client and the Oracle database server.
    These large queries need to be handled properly (i.e. distinguished from some generic failure) because the server handles requests from users, which could be programs that generate SQL queries (and have constructed huge ones in the past).
    Thanks for any information!

    The ORA-03113 means that the Oracle server process has died trying to satisfy your request. In almost all cases it is strictly correct to call that a bug, and we shouldn't easily forgive the server process when it happens. But in the case of multimegabyte statements my anger and disapointment turns to sympathy, for in my heart I can't bring myself to blame it. Can you?

  • Query is too large

    Hi,
    Can any one give me the solution to develop this report.
    I have 12 columns under each vertical.Like that i have 12 verticals for my Gross margin Report.
    Then 12* 12=144 coloumns.total are 144.
    But in Bi-Bex it will allow only limited columns. When i execute the report i'm getting the error that query is too large.Kow to overcome this.
    Note Points :
    Vertical1 :  ITG
    This Vertical consists of 20 Profit centers
    Vertical2 : UTG
                    This Vertical consists of 60 Profit centers
    Vertical3 : SBI
                    This Vertical consists of 50 Profit centers
    Vertical4 : SERVICEDIVISIONS
                    This Vertical consists of 10 Profit centers
    Vertical5 : ENGG
                    This Vertical consists of 50 Profit centers
    Vertical6 : HITECH
                    This Vertical consists of 10 Profit centers
    u2022     Data Before Eliminations is Total of All the Verticals Data.
    u2022     Eliminations Contains Values For Each Month for any of the above profit centers.
    u2022     Data After Eliminations is Data Before Eliminations + Eliminations Data.
    I searched in SDN but no luck..........
    Thanks

    hi sony,
    one way to go about this is to increase the "Size Restriction for Result Sets". This is pretty tricky. I wouldn't really recommend this since this can have performance issues.
    you can increase the size for result sets by running the abap report SAP_RSADMIN_MAINTAIN , Again be carefull when you are doing this. 
    Follow the below steps.
    1)     Transaction Code SA38 or SE38
    2)     In the program field, enter the report name SAP_RSADMIN_MAINTAIN and choose Execute.
    3)     For OBJECT, enter one of the following parameters;
            BICS_DA_RESULT_SET_LIMIT_DEF
            BICS_DA_RESULT_SET_LIMIT_MAX
    For VALUE, enter the value for the size of the result set, and then execute the program:
    Also, for your information, the default setting for the result set of Web applications is 500,000 cells. If the result set exceeds the size specified using the report, a message is displayed to inform the user.
    I would again ask you to be careful when you are modifying these values.
    Best would be to make sure that you check the table RSADMIN, whether you have the above entries (BICS_*), if you don't u can update these entries in the system. via the above said abap report.
    Hope this helps.
    regards,
    Sree.
    Edited by: Sree Nair on Aug 18, 2009 1:14 PM
    Edited by: Sree Nair on Aug 18, 2009 1:23 PM

  • Reg: Query is too large

    Dear all,
    I am facing an error when trying to save the query "error: query is too large" and the below is the text help given in the documentation.
    Diagnosis
    Query ZYYYYYYY contains 8192 differing selection cells. However, only 8191 selection cells can be processed in a query.
    Procedure
    Please simplify query definition ZYYYYYYYY.

    Hi,
    this happens when maximum no. of Keyfigures are used in the rows....you might be using only one selection or a formula in the Rows of the query..and still face the same error...this reason behind this is that this selection or forumla inturn has a lot of RKFs or CKFs in it...
    to put it clear, say you use a selection named ZTEST in the rows...and the definition of this selection is something like ZTEST = CKF1CKF2CKF3
    and CKF1 = CKF4CKF5CKF6+CKF7
    and CKF2 = CKF8CKF9CKF10/CKF11
    and CKF3 = CKF12*CKF13
    and further if you see CKF 4, 5...13 will again be a combination of multiple CKFs or RKFs...so this goes on and finally ZTEST becomes indeed very complex and uses more than 8191 selections....
    I hope this is the issue you are facing...
    shamee

  • SAP BI Query 'too large'

    Hi,
    I have a problem with creating a special query in Query Designer. The query has 2 structures, one structure has 100 selections, the second structure has 132 selections. This query is to show 10 years of plan data per period and a detailed account structure. The customer is not willing to reduce the number of rows.
    When I try to check the query or execute the query, I get an error message:
    Query is too large. Query contains 8192 differing selection cells. However, only 8191 selection cells can be processed in a query.
    In fact the query has about 13000 selection cells!
    I can not set up the query in a different way by using a drilldown by attribute period or something similar as the query should show actuals to a certain period in a certain year and from that period on the rest of the ten years should show plan data for an entered plan version. The row structure should not show all accounts and nodes of a hierarchy but only certain nodes. Therefore I can not use a hierarchy here.
    Please could you tell me if there is a way to exceed the limit of     '8192 selection cells'            in a query ?
    many thanks for your help in advance
    Arndt Fritzsche-Marx

    Hi Arndt,
    have never had this problem before. However you can customize the amount of cells in a query yourself. Have you tried editing this number (as explained below), perhaps it helps?? For I do not have access to a BI 7.0 right now I can not check if there are more settings which can be customized.
    You can customize the maximum of rows which can be displayed in web. This setting can be customized as follows in Bex Web Analyzer for the query (execute your query from Query Designer and it will ope in Bex Web Analyzer):
    1. Settings --> Data Provider
    2. Size Restriction for Result Sets
    3. Set the setting to "Custom-Defined No. of Cells" and enter your required "Number of cells"
    However be aware that the display of such a big amount of rows has a great impact on the performance of the query.
    Brgds,
    Marcel

  • Financial Reports 9.3.1 - Query is too large and cannot be executed

    Hi,
    I'm trying to pull a Financial report from one of my ASO cube, version 9.3.1 and received the following error.
    "Query is too large and cannot be executed. The product of member counts across all dimensions in the query exceeds 2^64..."
    The report is pulling from a combination of 6 different cross dimensions and drill down to the bottom level 0. I have read a couple of blogs with trying to change the buffer and sort buffer size from 10 KB to like 1000 KB within the database settings as well as the Pending cache size limit setting from like 32 MB to 64 MB on the Application setting. I've tried all combinations but nothing seems to work.
    However, I was able to retrieve the same combinations through Essbase Excel Add-in by addding the MAXFORMULACACHESIZE in the Essbase config setting. But this didn't work for the Financial Reports. I know that in version 11.1.2 has that MDX Query enable through reports which may help with the query. Unfortunately, that MDX Query enable is not available within version 9.3.1.
    Please help.
    Thanks

    John,
    The Database has data that is rolled up to all levels.
    I can open the report to Edit in the Financial Reporting Studio. This allows me to click on members in the grid, however, when I search for members I am unable to do so. I can drill down to the member and select it, but when I run the report in FR studio, I get the same error message 'Error: Invalid Report Object'.
    Thanks and Regards
    Kunal Tripathi

  • I wrote a query -- HTMLDB can't parse it, too large.

    I would attach it here but I see no ways to attach items.
    I wrote a query that, as I said, is too long for HTML DB to accept. When I submit it, I an http error 400.
    the thing is, the query is only ~27700 bytes, according to the file system information. So is the query parser set to a lower maximum length than the import capabilities for data imports?
    Thanks.

    Don't know what you mean by data imports exactly but different mechanisms may be at work for different situations. modplsql has a 30,000 byte limit (I think) on the size of textareas. Keep in mind that the byte count it sees may be larger than the character count your text editor reports due to UTF-8 or other transformations and also that some of this information is probably only partially correct. If the query is too large, use a packaged pl/sql function returning sql query.
    Scott

  • 'flash:c2600-js-mz.122-34.bin' is too large for available memory??

    guyz, i have upgrade my 2621 IOS,the IOS requirement is 16/48 and my router is have 16/48 as well. But everytime the router boot, ther is an error msg. What does it means?
    "%SYS-3-IMAGE_TOO_BIG: 'flash:c2600-js-mz.122-34.bin' is too large for available memory (7016856 bytes).boot of "c2600-js-mz.122-34.bin" using boot helper "flash:c2600-js-mz.122-34.bin" failed
    error returned: File read failed -- Not enough space
    loadprog: error - on file open
    boot: cannot load "c2600-js-mz.122-34.bin"
    ++++ BOOT MSG HERE ++++
    program load complete, entry point: 0x80008000, size: 0xb8d40c
    Self decompressing the image : ################################################################################################################################################################################################################################ [OK]
    Smart Init is enabled
    smart init is sizing iomem
    ID MEMORY_REQ TYPE
    0000A2 0X0010A400 C2600 Dual Fast Ethernet
    0X000F3BB0 public buffer pools
    0X00211000 public particle pools
    TOTAL: 0X0040EFB0
    If any of the above Memory Requirements are
    "UNKNOWN", you may be using an unsupported
    configuration or there is a software problem and
    system operation may be compromised.
    Rounded IOMEM up to: 5Mb.
    Using 10 percent iomem. [5Mb/48Mb]
    %SYS-3-IMAGE_TOO_BIG: 'flash:c2600-js-mz.122-34.bin' is too large for available memory (7016856 bytes).boot of "c2600-js-mz.122-34.bin" using boot helper "flash:c2600-js-mz.122-34.bin" failed
    error returned: File read failed -- Not enough space
    loadprog: error - on file open
    boot: cannot load "c2600-js-mz.122-34.bin"
    System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
    Copyright (c) 1999 by cisco Systems, Inc.
    TAC:Home:SW:IOS:Specials for info
    C2600 platform with 49152 Kbytes of main memory
    program load complete, entry point: 0x80008000, size: 0xb8d40c
    Self decompressing the image : ################################################################################################################################################################################################################################ [OK]
    Smart Init is enabled
    smart init is sizing iomem
    ID MEMORY_REQ TYPE
    0000A2 0X0010A400 C2600 Dual Fast Ethernet
    0X000F3BB0 public buffer pools
    0X00211000 public particle pools
    TOTAL: 0X0040EFB0
    If any of the above Memory Requirements are
    "UNKNOWN", you may be using an unsupported
    configuration or there is a software problem and
    system operation may be compromised.
    Rounded IOMEM up to: 5Mb.
    Using 10 percent iomem. [5Mb/48Mb]
    Restricted Rights Legend
    Use, duplication, or disclosure by the Government is
    subject to restrictions as set forth in subparagraph
    (c) of the Commercial Computer Software - Restricted
    Rights clause at FAR sec. 52.227-19 and subparagraph
    (c) (1) (ii) of the Rights in Technical Data and Computer
    Software clause at DFARS sec. 252.227-7013.
    cisco Systems, Inc.
    170 West Tasman Drive
    San Jose, California 95134-1706
    +++++++++++++++++

    ++++ Show Version ++++
    Router#sh version
    Cisco Internetwork Operating System Software
    IOS (tm) C2600 Software (C2600-JS-M), Version 12.2(34), RELEASE SOFTWARE (fc1)
    Copyright (c) 1986-2006 by cisco Systems, Inc.
    Compiled Wed 01-Mar-06 20:31 by pwade
    Image text-base: 0x8000808C, data-base: 0x814718E4
    ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
    Router uptime is 7 minutes
    System returned to ROM by reload
    System image file is "flash:c2600-js-mz.122-34.bin"
    cisco 2621 (MPC860) processor (revision 0x102) with 44032K/5120K bytes of memory.
    Processor board ID JAD04290DBX (302381003)
    M860 processor: part number 0, mask 49
    Bridging software.
    X.25 software, Version 3.0.0.
    SuperLAT software (copyright 1990 by Meridian Technology Corp).
    TN3270 Emulation software.
    2 FastEthernet/IEEE 802.3 interface(s)
    2 Serial(sync/async) network interface(s)
    32K bytes of non-volatile configuration memory.
    16384K bytes of processor board System flash (Read/Write)
    Configuration register is 0x2102
    +++++++++++++++++++++++++++++++++++++++++++

Maybe you are looking for

  • On my Mac, when I attempt to open a form from a web site, the Reader does not open. It used to.

    On my Mac os 10.6.8, when I attempt to open a form from a web site, the Reader (10.1.2) does not automatically open as it used to.  What can I do to correct this problem?

  • How can I change the encoding of a font "on the fly" in Illustrator

    Is it possible to do that. I saw that in CorelDraw if you press Ctrl+Shift+E with a text selected a dialog windows appears with the option to choose beteen different code tables, so non unicode fonts can be made to show the right gliphs. Or maybe the

  • AT+CMGW command problem

    Hi all, I am sending AT commands to the mobile phone using the bluetooth channel but I am facing a peculiar problem. When i send the command AT+CMGW="+919899879920"<CR>"HELLO THERE"<CTRL_Z> to the mobile phone then rather than writing only the messag

  • How to handle time&date

    can anyone tell me how to handle time&date correctly?using Calendar,GregorianCalendar,TimeZone,Locale thank you very much

  • Which workbooks containts graph

    I need to know which workbooks are using graphs, the best would be to query it via EUL5_* tables but i can't find where the graph/chart info is available. Please help where to find such information? Actually the only way i can think about is to expor