Tuesday, March 16, 2010

Out of Memory Error in BW Application

Out of Memory Error in BW Application

     In some running applications, suddenly you started hitting out of memory errors. To drill down more, Check the max heap size you configured while deploying time.
        If the running application thrown out of memory error, you can simple go ahead and test from designer with the same amount of input, some where the funny coding is taking all your memory.

          If it is new application, set the heap suggested is multiples of (64MB), and keep increase, if it is keep throwing just open the code check with the same load and see which activity is taking all the memory and take corrective steps.

For ex:
       If you are not properly using parse data activity in your code, this will end up eating more than 2 GIG for 20 MB file.

Solution :
 
      Heap settings will be done at Admin level, to do that login to TIBCO administrator, and navigiate process specific server settings, and change the heap values.

1 comment:

  1. Hi,
    tuning of BW applications is more complex as you descrbe it.
    You may have to check Flow Limit and Max Jobs for each process starter, in example....

    ReplyDelete