Excessive Memory Usage in AR 11

Posted by: peter.schmucki on 6 August 2018, 7:47 am EST

    • Post Options:
    • Link

    Posted 6 August 2018, 7:47 am EST - Updated 30 September 2022, 6:07 pm EST

    I just performance profiled an application using a file that contains 150 future reports. I noticed a high memory usage going up to 1 GB. Using 300 reports it goes up to 2 GB and then crashes.

    I find objects of DDCssLib.CSSDeclaration (Bytes > 1K) using more than 54’770’000 Bytes as well as others. The Memory Usage curve has a very odd behaviour. And right now I don’t know how I can manage or have to start looking for a potention memory leak. Any suggestions are very welcome.

  • Posted 6 August 2018, 7:47 am EST - Updated 30 September 2022, 6:07 pm EST

    Also a list

    of the objects in memory

  • Posted 6 August 2018, 11:45 pm EST

    Hello Peter,

    Could you please confirm the following points:

    1: Are you using XML based section report or Code-based section report?

    2: Are you using any inbuilt style of section report?

    If no, please delete the all inbuilt style of the Section report other then “Normal”. Please refer to the attached image.

    3: Please share the exact version of AR that you are using?

    4:>>file that contains 150 future reports,

    From this, I understand that you have the main report with 150 subreports. Could you please confirm if my understanding is correct?

    Thanks,

    Mohit

  • Posted 7 August 2018, 1:51 am EST

    Hey Mohit, thanks for replying so fast!

    1. We do have both in the current project, but the one I was looking at is code based.
    2. Not as far as I can tell.
    3. v11.3.13058.0
    4. It’s a data file containing 150 “invoices”. These invoices are assambled with multiple smaller parts of subreports (total, adress, positions, billing information, etc.)

    Kind regards

    Peter

  • Posted 7 August 2018, 3:06 am EST

    Hello Peter!

    Could you please check after deleting all inbuilt style of main report and subereport except than “Normal”.

    1: Open the SectionReport in designer Mode

    2: Click on the report

    3: Click on “Property dialog”

    4: Go to “Styles” Tab

    5: Delete all the styles except than normal

    Please refer to the attached video for more clarification

    Hope it helps.

    Thanks,

    vid_Style.zip

  • Posted 7 August 2018, 3:59 am EST

    Wouldn’t that leave me without styling options?

    It remains unchanged after removing every style from every .rpx.

  • Posted 7 August 2018, 4:00 am EST - Updated 30 September 2022, 6:07 pm EST



    Updated screenshot

  • Posted 7 August 2018, 6:35 am EST

    Hello Peter!

    Could you please give us some time to replicate the issue at our end. Also, If possible could you please share the stripped down application with us. This will be very helpful for us.

    Thanks,

  • Posted 7 August 2018, 7:23 am EST

    Thank you, is it also possible to submit some code less public?

  • Posted 7 August 2018, 7:50 am EST

    Peter!

    Yes, You can create a case on “supportone.componentone.com” which is our private forum (S1). Only you can see the case. You can login S1 through your forum credential. I have created the case for you at S1.

    http://supportone.componentone.com/home/casedetail/337451

    You can share the file here.

    If any problem occurs while using S1 forum, please let me know

    Thanks,

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels