Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7567

Running at 100% CPU for a script that inserts 5k records on slow connection

    • Type: Icon: Investigation Investigation
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.41.0
    • Component/s: Embedded Shell, Performance
    • Environment:
      OS: Mac OS Sonoma
      node.js / npm versions: 20.10.x
      Additional info:
    • Iteration Fortitudo, Iteration Light Year, Iteration Neptune, Iteration Ozone, Iteration Planetarium, Iteration Quasar, Iteration Regolith
    • Developer Tools

      Problem Statement/Rationale

      Very simple insert script execute on MongoDb Atlas and my MacBook Pro M1 is running hot due to Compass Electron app while I insert 1 record every 5 seconds or so. It's crawling to halt. Memory leak?

      Please be sure to attach relevant logs with any sensitive data redacted.

      Steps to Reproduce

      Create a for-loop with 5K records and a JSON payload with 4 - 5 parameters. Can be very simple.

      Additional Notes

        1. 659ce0de8620958172bbd11e_log.gz
          848 kB
        2. responsiveness.mp4
          6.68 MB
        3. Sample of MongoDB Compass Helper.txt
          329 kB
        4. Screenshot 2024-01-09 at 15.57.35.png
          Screenshot 2024-01-09 at 15.57.35.png
          671 kB
        5. Screenshot 2024-01-09 at 15.58.22.png
          Screenshot 2024-01-09 at 15.58.22.png
          734 kB
        6. Screenshot 2024-01-17 at 6.49.18 PM.png
          Screenshot 2024-01-17 at 6.49.18 PM.png
          233 kB

            Assignee:
            basit.chonka@mongodb.com Basit Chonka
            Reporter:
            bjorn.harvold@traveliko.com Bjorn Harvold
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: