Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13594

SPA: possible memory leak, requests are kept in memory

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Done
    • None
    • 14.3.3, 14.4.0
    • None
    • 0
    • Flagged
    • Quasar
    • Puma Sprint 240, Puma Sprint 245

    Description

      Report:

      Currently when using the @bloomreach/spa-sdk in a server side rendering setup the spa-sdk package will keep all requests in node.js memory. This causes significant performance and memory issues.

      Reproduction steps included.

      Steps to reproduce :
      Check out the @bloomreach/spa-sdk package: https://code.onehippo.org/cms-community/bloomreach-spa-sdk/tree/bloomreach-spa-sdk-14.1.0/examples/react-ssr
      Run the react-ssr example with the node --inspact flag.
      Monitor performance with something like chrome://inspect/#devices and create load on localhost:3000.
      Trace the memory usage while doing requests and notice the spa-sdk package keeps all page requests in memory.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmilicevic Marijan Milicevic
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: