Memory Circuit Breaker

We had an interface, while loading the interface in the flow sometimes we are getting Memory Circuit breaker error and we could not able to move forward as we cannot click anything on interface. We already optimized the code to maximum extent. Is there any way that we can show that error in separate section which will not block the interface, so that we can move forward by clicking on submit button

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hi Shiva,

    I would suggest to go by approach suggested by  , avoid manipulating the data in the UI, this is not a scalable design and its very costly operation.

    1. Dump the data as is in the staging table 1

    2. Manipulate the data according to your need and move the final data into staging table 2

    3. Display the data from staging table 2, with paging info configured, each instance make sure you capture process id, which acts as session id for each manipulation.

    After all the manipulation is done and everything is displayed to the user, truncate the data using the process id in staging table 1 and staging table 2 using the process id.

Reply
  • 0
    Certified Senior Developer

    Hi Shiva,

    I would suggest to go by approach suggested by  , avoid manipulating the data in the UI, this is not a scalable design and its very costly operation.

    1. Dump the data as is in the staging table 1

    2. Manipulate the data according to your need and move the final data into staging table 2

    3. Display the data from staging table 2, with paging info configured, each instance make sure you capture process id, which acts as session id for each manipulation.

    After all the manipulation is done and everything is displayed to the user, truncate the data using the process id in staging table 1 and staging table 2 using the process id.

Children
No Data