Out of memory issue with Active Report JS

Posted by: ali.raza on 6 July 2023, 9:16 pm EST

    • Post Options:
    • Link

    Posted 6 July 2023, 9:16 pm EST - Updated 6 July 2023, 9:21 pm EST

    I’m currently using Active Reports JS. It works fine for printing small sized reports say less than 100 pages. But as soon as i try to print a large report which has a thousand or more pages, it gets stuck at print preview dialog of the browser for a while and then it takes me to the browser’s error page which shows “out of memory” message.

    I’ve gone through Active Reports’ support and documentation to find a workaround for this memory issue and i found that there is a property called CacheToDisk in Active Reports which allows the report to be temporarily stored on disk for printing. Thus releasing the available system memory.

    I’m wondering if we have a similar feature available for Active Reports JS as well. I’ve explored the available documentation of Active Reports JS but was unable to find such a feature available. It is a really a big problem for us if we run into memory issues and can’t print large sized reports since it is one of our main requirements.

    Any help of this would be greatly appreciated.

  • Posted 9 July 2023, 9:45 pm EST

    Hi Ali,

    ActiveReportsJS runs on the client-side (frontend) in the browser and theoretically has no limit to how many pages you can print at a time (only limited by the system and browser’s performance).

    The out-of-memory error is thrown by the browser when the machine does not have enough RAM and the browser crashes.

    Unfortunately, as ActiveReportJS runs on the client-side it does not have any ‘CacheToDisk’ or similar property as it does not have access to store files on the client’s system due to security concerns.

    To resolve this issue you may try increasing the available RAM on your system, switching to a different browser such as Firefox, clearing browser cache, etc.

    You may learn more about the error here:

    Regards,

    Anand

Need extra support?

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

Learn More

Forum Channels