Background process going to " abap/heap limit"

Hi All,
When i check the trace file of the workprocess which is a background process it shows that the
" WP has reached abap/heap limit"
Does this trigger the dialog process into PRIV mode? or is it OK for a background process to reach the heap limit.
Please advise.
Best Regards,
DVRK

Hi Ramakrishna,
The trace you are seeing is for the background process  and is no longer related to dailog process.
Some times we can see the abap/heaplimit issues due to background jobs running parallely on the same host.
When the abap/heaplimit reaches max. the job gets cancels
Try to trigger the job on low load instance
(or).
If this occurs on a regular basis. Try to find out the jobs which are failing and tune them accordingly
(or)
Take the help of Basis in fine tuning the abap heap memory parameters.
Hope I answered your query.
Regards
Sandy

Similar Messages

  • ABAP Custom Report (ALV Format) in Background Processing

    Hi
    I am not the hardcore ABAP Person. But want to know about the detail fact of the ABAP Custome Reports. The question is can we do the background processing for the ABAP Custome Report in ALV Format.
    If Yes ..do we require to have any additional Function/code to get the spool in ALV Format. I saw the comments that the output will look like the mess.
    Please share your comment or any useful documenation on this. We are in ECC 6.0
    Thanks in advance..and yes it will be rewared by points.
    Navin

    You can use alv's in background using docking containers, but the display wont be interactive. If you search the forum you will see tons of threads which talk about running ALV's in background.
    For the output to be interactive, you can run the report in foreground and do the data processing in background.
    Refer this link:
    Displaying ALV Grid in Background Job

  • SAP BI 7 - Background process performance Issue

    This question is about efficiency of dialog process compared to inefficiency of the background process and I want suggestions from SAP Basis/BI experts on this.
    We have observed that our background processes on BI server are not running as efficiently as we would like them to run.
    For example
    DSO activation:
    When I use Dialog mode for DSO Activation with 3 parallel processes, I can activate a certain DSO with in 15 seconds. But the same DSO and the same data package when activated using background mode with 3 parallel process takes about 15 minutes.(there are plenty of background processes available on the system when this activation is running). So dialog process runs 60 times faster than background process.
    In BI 7 most of the operations can be executed only in the background parallel mode. And from the activation example we know that our background processes are not as efficient as dialog processes. It
    is understood that in general the background processes will not be as efficient as dialog processes, but in our case the difference is a factor of 60. We want help to identify, why the background processes are not as efficient as dialog processes. What SAP Basis settings need to be changed to make them as efficient as we can. Any suggestion or help will be highly appreciated.

    Hello Eswaran
    Generally a dialog process is not faster by any means than a background workprocess. Nevertheless i trust you on your observations, so there must be some difference. I just did a small test, i ran SE16 chose a big table and selected 10000 rows, i did 3 tries in dialog and 3 in background. The results:
    dialog: 10.2s, 9.4s, 9.6s
    background: 26s, 24s, 24s
    So even in my simple example the background execution took more time. The issue here is, that the resulting output (which is pretty large) had to be saved additionally in a spool (a total of 167 pages) when executed in background. The selection of the data certainly did not take more time in either case.
    The most important difference between dialog and batch processes is the memory management. Dialog processes work with a shared memory segment (extended memory). Background processes have their private heap memory.
    Nevertheless, background processes are not "slower" in general, not at all. You will need to observe closer, what your processes are doing. Maybe watching SM50 while running the DSO activation is enough to see it, maybe you need to trace a process. If you see large spools generated, or huge amounts of memory consumed, we might already have an answer.
    Regards
    Michael

  • Experience in ABAP OO and heavy background processing?

    Hi,
    we're planning to develop a new application with a (very) high part of background processing. We plan to use the ABAP OO. We also want to make a good OO-Design (with many SETTER and GETTER methods and so on). I'm afraid we will get a lot of "program to program" communication and we will atomize our application. Also it's sounds to me like a conflict with the stuff from the Performance-course BC490.
    Has anybody experience with ABAP 00 and applications that normally designed for a "number cruncher"?
    Thanks and regards,
    Stefan

    Hi Mariana,
    I've started with two technical prototypes that have a very little business logic. One prototype is designed in the "good old" ABAP and one in the ABAP OO and a selfmade OO-framework from our company. This framework is very comforable and offers a lot of methods and superclasses. For vectors there is a own superclass. So for you question: We use a own object to pass the vectors.
    Also we use the software objectif for the OOD. I've learned how important a good OOD is, before I started any coding.
    My prototypes have a very simple business logic. They creates bills for 10.000 invoice recipient. The only feature is, that every recipient can have his own customizing to decide which items should be together on one invoice to a individual invoice date. 
    I must admit that the API in the OO prototype are more understandable, but for the performance I see still the follow bottlenecks with the I/O:
    - When I instance a business object, all attributs are loaded into the memory.  In the old ABAP I use only the required fields. So the "smelly" SELECT *-Statement is back again...
    - A business-class (A) that have dependent business-classes (B1, B2, B3...BN) should instance his dependes objects with the first access the the class (A). When the classes (B1,B2...BN) has also dependent classes, this object should be instances (B1 has C1,C2,C3..CN), too. There is always a "vector"-class between this classes that notice the reference of his objects.In my prototype for example you have a invoice recipient.
    In my prototype for example I have a class invoice recipient (class A). This recipient has a vector of bill-header (class B) and every bill-header has a vector of bill-items (class C). Between every of this classe is a vector-class that manage the references of the objects.
    I've programmed this lazy (hope that this is the correct word that a OO-gurus use). This means I instance only the class A. If there is a call to a method from object A that need the information from the class B-objects, than i look if the reference of the vector-class for the B-Object is already available. When not I instance the vecotr-class and this reads all dependens object B.
    So there is much more I/O than in old ABAP, after all.
    However I'm a OO beginner.
    Therefore I'm waiting that an OO-expert from our company take a look to my prototype coding and improve this for a better performance. I'm looking forward for some good tips. I will let you know when I've good some other nuts and bolts.
    Perhaps SAP needs a OO-database instead a rational database, so that all GET-methods goes directly to the database to avoid a instance with all attributs in the memory of the application-server...
    Many greetings from germany,
    Stefan

  • Essbase process started in background is going on "In Queue" State

    Hello,
    I am using 11.1.2.1. Any Essbase process started in background is going on "In Queue" State. And the process never starts.
    Any help would be appreciated.

    Hi,
    Try the following steps..
    1. Stop EAS
    2. Delete all the contents of WebLogic temp folder
    Location: EPM_ORACLE_INSTANCE/../domains/EPMSystem/servers/EssbaseAdminServices0/tmp/ --> delete all the content under this folder
    3. Start EAS server
    Hope it helps...
    KosuruS

  • ABAP trail 7.00 timeouts and background process

    Does anyone knows if it's possible to change the number of dialog and background processes?
    And the transaction to change the timeouts of such processes?
    Thank you

    you can change the timeout in rz11.Parameter-name is rdisp/max_wprun_time. Backgound processes habe no timeout, so this value is only valid for dia-processes
    To change the number, you have to adjust your instance profile. In the forum  'Netweaver Administrator' should be some information about that. So just the short hint: you can adjust the profiles in RZ10, but have to do some steps for that. Just search in NW-Admin-forum above.
    Regards,
    ulf

  • Function called IN BACKGROUND TASK goes to work process DIA, not BGD

    I'm calling a function IN BACKGROUND TASK
    In SM50, I see it running in a DIA work process.
    I want it to run in a BGD work process.
    Can this be done?  If so, how?  If not, why not?

    Hi...
    It looks like, it will always run in DIA process and not Background process...I am not sure that we can change the work process
    Check the below link..
    http://help.sap.com/saphelp_40b/helpdata/pt/69/c24f864ba111d189750000e8322d00/content.htm
    What is written in the link is...
    "Background updates (CALL FUNCTION IN BACKGROUND TASK) represent a variant of remote function call that is synchronous with the end of a transaction (COMMIT WORK). In background updating, an update is run in another dialog work process that may be in the same or in another application server and R/3 System. Because such updates run in their own LUWs, they may start only after all critical updates have been completed. Otherwise, it would not be possible to roll back background changes in the event of an error in another update component. "
    IF you get the answer of whether we can change the work process then please let us know...

  • Could not support request for background processing

    Hello,
    We have a .NET 1.x application with CrystalReportViewer control.
    The application is running on a windows terminal server with approximatively 5 users using the applications and 10-20 logged on doing other stuff.
    When the user tries to preview the report using the CrystalReportViewer  object , the following exception is "sometimes" thrown 
    [translated from dutch]
    CrystalDecisions.CrystalReports.Engine.InternalException:
    error in file C:\Users\*username*\AppData\Local\Temp\35\{B8D10435-A104-4422-A220-6DB483DFC285}.rpt:
    The request could not be submitted for background processing. ---> System.Runtime.InteropServices.COMException (0x800002AD)
    The application then terminates and if the user restarts the application attempts to reload the report, it usually loads with no problem .
    It can not be intentionality reproduced but it does happen frequently.
    I have been Googling for this problem , but havn't found any solution.
    On this website however a link is provided to a BO KB article with a possible solution:
    http://aspadvice.com/blogs/rjdudley/archive/2005/10/26/13443.aspx
    However, the article appears to require a login, my SAP CR account i used to register on these forums does not to work.
    What can we do to determine the exact cause of this problem, or are there any known solution for this problem ??
    If you need any more information please do ask.
    also,
    We have a licence for CR 11 and so does our client, what steps would we need to undertake to get professional /payed support from SAP crystal reports for techinal issues like this, is there a way to open a support ticket ?
    Thank you very much for your time, any help is appreciated !
    Willem

    Hello:
    First I have to apologize for the troubles with CR 11.5 - not sure why that would be, but your frustration is understood. Perhaps sometime in the future we can look at this in another thread (e.g.; it should just work...).
    Anyhow, there is really no compeling reason for you to go to CR 11.5 (there are reasons (see below), but 11.0 is fine with framework 1.1).
    So to start off. Version 11.0.0.895 will need to be updated to SP4. See this|http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReports2008%28and9.1%2CXIR1%2CXIR2%29-VersionandDownloadinformationforServicePacks] wiki. As you can see in the wiki, the latest version of CR 11.0 is updated to SP 4 with a version of 11.0.9500.x. Before we even start to look at this, you will have to get to SP4.
    Re. preference for CR 11.5. If the issue is not resolved with CR 11 Service Packed to SP 4, all we have left is; going to CR 11.5 - with the latest SP (SP6) as that is the version I would be testing with. Note that CR 11 is completely out of support now, CR 11.5 is out of patch support (e.g.; no fixes) and any support terminates in June of this year.
    And we have not even started to work the issue. Re-reading your initial post, I am starting to suspect that loading may be the root of the issue here. I'd recommend having a peek at the following:
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/d08468e2-a81d-2b10-faa9-9837f58ee1c2
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7025839b-00d4-2b10-33b4-cf0aa9e08412
    The following article specifies CR 2008, but most if not all the points will apply to CR 11.0 also:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7025839b-00d4-2b10-33b4-cf0aa9e08412
    The below will also be good to be aware of:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40bccdfd-88a6-2b10-1da1-c47a54b625a7
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0070692-01a8-2a10-4797-ff0f5f73e1e1
    The following articles were written by me and may also apply:
    [Crystal Reports Maximum Report Processing Jobs Limit|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023]
    [Improving Crystal Reports Performance in Visual Studio .NET Applications|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8029cc96-6ff3-2b10-47a2-b30ea790ea5b].
    I realize I've thrown a lot of info in here, but all of it may apply. In a way I feel like we've ended up across the river without crossing the bridge first, but let's see what comes out of all of this (teleporting worked for Captain Kirk   ).
    - Ludek
    Edited by: Ludek Uher on Mar 10, 2011 7:25 AM

  • REG : in which memory area BackGround process will execute??

    hi everyone,
                 in which memory area , background process will be executed ?
    Thanks and Regards,
    Nikhil K

    Hi,
    i want to know if both SAP memory and ABAP memory are not present then in which area Background processes will be executed.
    erm, they are always present. Processes do not execute "in" these 2 memories. I advise you to read some reference documentation: [SAP library: Functions of the SAP Memory Management System|http://help.sap.com/saphelp_nw70/helpdata/en/02/96279d538111d1891b0000e8322f96/frameset.htm]
    The only difference I know between dialog and background is the sequence in which the roll, extended and heap memories are allocated.
    Sandra

  • Help needed on abap heap area parameters

    Hi Gurus ,
    I need your help in regards with abap heap area parameters , we are facing a lot of system no roll memory issues on one of our instance.
    As for my understanding :
    1)abap/heap_area_dialog : heap memory limit for dialog process.
    2).abap/heap_area_nondialog: heap memory limit for non-dialog process.
    3).abap/heap_area_total : what this implies ?
    In my production instance the parameters are as follows :
                                                    Actuals
    abap/heap_area_dialog -
        2GB    (Recommended : 2GB for an application server with max 50 users )
    abap/heap_area_nondialog:-- 2GB  (Recommended : 2GB or an application server with max 50 users )
    abap/heap_area_total ---        1GB        (Recommended and default value: 2GB)
    My doubt is  "abap/heap_area_total  of 1GB "  might creating problems .
    What is the recommended value for abap/heap_area_total on Solaris 10 ?
    your valuable inputs required :!

    Hello Sandy
    Have a look at this link for UNIX
    http://help.sap.com/saphelp_nw04/helpdata/en/02/96257b538111d1891b0000e8322f96/content.htm
    For more in memory management in below link
    http://help.sap.com/saphelp_nw04/helpdata/en/02/96253c538111d1891b0000e8322f96/frameset.htm
    Regards
    Vivek

  • How to adject ABAP HEAP SIZE???

    Hi,
    How do I adjust ABAP Heap size..??
    any step by step or note?
    Thanks,

    Hi Afi,
    you can get some information here:
    http://help.sap.com/saphelp_nw04s/helpdata/en/7a/caa6f3bfdb11d188b30000e83539c3/frameset.htm
    There you will also find the parameters:
    abap/heap_area_dia: Heap Memory Limit for Dialog Work Processes
    abap/heap_area_nondia: Heap Memory Limit for Non-Dialog Work
    abap/heap_area_total: Total Quota for Heap Memory
    and recommendations how to configure them.
    Have a look and award points if useful.
    Rgds,
    Loukas

  • Data of alv report in  excel file in background processing using open datas

    Hi Experts,
    I have developed report for purchase register . if i execute this report in background process i am not able to get the downloaded file in excel and output is also not coming properly, columns are going to overlap.
    i used open dataset  read dataset and close dataset but still problem is not solved. so if anyone have code with this and also which will have concatenate statement in the code send it.
    Regards,
    Rahul

    Hi Rahul,
    Ur code shud be like below:
    DATA : l_filename2 TYPE string,
                v_extn.
        SPLIT p_filename AT '.xls' INTO l_filename2  v_extn.
        CONCATENATE l_filename2  'downloaded'  INTO l_filename2  SEPARATED BY '_'.
        CONCATENATE l_filename2  'txt'   INTO l_filename2 SEPARATED BY '.'.
        OPEN DATASET l_filename2 IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.
        IF sy-subrc <> 0.
          MESSAGE e499(sy) WITH text-e02.
        ENDIF.
        LOOP AT it_order_number INTO wa_order_number.
          TRANSFER wa_order_number TO l_filename2.
        ENDLOOP.
        CLOSE DATASET l_filename2.
    Now, go to tcode AL11 and check it in the Application server itself.
    Hope this helps,
    Regards,
    Arnab.

  • Crystal Reports VS 2008 "The request could not be submitted for background processing"

    Hi,
    I am going to try to explain this issue the best I can. Please let me know if you need any other information or have any ideas as I have exhausted my resources. We have an ASP.NET application that has highly formatted crystal reports in them that the users can export as PDFs. All reports export without a problem when the application is run off of our desktops. The reports use a sql server authenticated user, executing stored procedures, and each subreport is linked by the main parameter. We are using Visual Studio 2008 version 3.5 SP1 with Crystal Reports Basic for Visual Studio 2008 on Windows 7 Enterprise SP1. We have designed the reports in Crystal Reports XI Release 2 (11.5.12.1838) and imported them into the ASP.NET application. When trying to export the reports as PDFs from the development or production servers, we get the error message below for some, not all, reports:
    System.Runtime.InteropServices.COMException (0x800002AD):  Error in File C:\Windows\TEMP\KeyAccountProfile {9FA5C095-77A2-425D-AC6B-8BB66B435336}.rpt: The request could not be submitted for background processing.     at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)     at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    We have cleared the temp directory on the servers before exporting and are still receiving the error. We have installed Crystal Reports Basic Runtime for Visual Studio (10.5.2.0) on both servers. I have identified the underlying issue to one stored procedure/subreport that is causing the report to fail. The weird thing is, when we change the connection to point to development, the stored procedure/subreport runs fine for the report that generates an error when run from production, and the data is the exact same. I have tried rebuilding the subreport but the error still appears even though it runs fine for other reports.
    I have been through the document below, and othe similar issues in the forums, but still have not found a resolution. I was trying to use the "modules" application put since this is an ASP.NET application I am unsure of which executable I should be looking at.
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33?QuickLink=index&overridelayout=true&36837934524320
    Thanks in advance for your assistance,
    Brad Hood
    06-26-14
    OK.. I did some more investigating on this today. I have found out when I move the sub report that generates the error under another sub report, the sub report in question runs without issue. But when I try and move the sub report that produces the error above any other sub report, the error still generates. Can this get any weirder.... FYI.. there is a total of ten sub reports on this report.

    Hi Brad
    I'm not sure that Modules would show us anything in this case, so let's try a few other things:
    1) Make sure you are using SP 1 for Crystal Reports Basic Runtime for Visual Studio:
    Crystal Reports for VS 2005 and VS 2008 Updates & Runtime Downloads
    2) Seeing as this works on dev, this may be some db inconsistency so enabling the report option "Verify on 1st Print" will be a good idea.
    3) Double check the database client and make sure the same client is used on dev and deployed systems. Actually I take back my Modules negative as this is where it may prove useful. Once you have the Modules logs, look at who is loading the crpe32.dll, then look at that process and see the client dlls.
    4) Check the printer driver; see if there are any updates. Try a different printer driver.
    Ten subreports is not too bad, though not that good either as you are loading the report engine with at minimum 11 simultaneous reports (each subreport is considered to be a report). If a subreport is in a details section and the details section returns a 100 records, you are running 100 + 1 reports. This may lead to memory issues, which may lead to the error.
    If I was a betting man, I'd put most of my money on the printer driver (based on your last addition to your post). What ever money I had left would go to some database issue (be it actual data or client related).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How can I run a method as a background process?

    Hello,
    I am currently working on a report where depending on the number of items selected, the user may choose to process all the items right now or as a background process.
    How can I do that in ABAP?
    Thanks

    To run a job in the background it has to be scheduled as batch job. You would usually do that using transaction SM36. As I understand your problem you want to schedule such a job directly from your coding. You may want to have a look at function group BTCH. It overs quite a few FMs to programmatically add a batch job.
    regards
    Daniel

  • Problem in background processing of a report

    Hey,
    I am facing a problem while executing a report in background. In foreground its running absolutely fine but in background the job get cancelled every time .
    can any body tell me how to find the cause of the problem and how can we debug the report  in background
    thanks
    bobby

    Hi Amole,
    following error is encountered  in background processing
    ABAP/4 processor: GETWA_NOT_ASSIGNED
    job cancelled
    thanks
    bobby

Maybe you are looking for

  • Lenovo 3000 N100 - Stays on just for a very short time

    I have a Lenovo 3000 N100, Model Type 0689-29U Will power up but only stay on for a short time (less than two minutes usually) before it shuts down without any errors. Does not stay on long enough to run hardware diagnostics. Have replaced the follow

  • How necessary is Java?

    Doing a fresh install of Mac OS X 10.4.11, I realized that the Java updates -- seven of them, which must be tediously installed one by one in order -- are more than all the other 10.4 updates combined: 432MB (Java) vs. 386MB (10.4.11 Combo, QuickTime

  • Inbound proxy

    can anyone tell me about '   web service defination' which is in properties tab while creating inbound proxy?

  • Registering Serial for 2nd hand Macbook Air

    Hi all, I tried registering my 2008 Macbook Air. It says that "According to our records, this serial number is registered to another Apple ID. If you have more than one Apple ID, log in to My Support Profile with that Apple ID to see your other regis

  • Update bar code table

    by using FM ALINK_BARCODE_GLOBAL we can update barcode table for trip number with object type BUS2089. Where FM ALINK_BARCODE_GLOBAL to update this.