https://bugs.kde.org/show_bug.cgi?id=405453

            Bug ID: 405453
           Summary: Massive memory usage in STEP
           Product: step
           Version: 0.1.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: ks.vladi...@gmail.com
          Reporter: franci_n...@hotmail.it
  Target Milestone: ---

SUMMARY
When I modify the settings for the collision solver, the risk of a colossal
memory usage is serious. More than 5 GB will be used if tolerance is set to
0.0000000001. That is not a problem when you have more than 5 GB of free space,
but unfortunately this is not my case. I think it would be a good idea if a
message of warning appeared before starting the simulation.

STEPS TO REPRODUCE
1. Create a circle of infinite mass
2. Create a particle that will collide with the circle.
3. Before starting the simulation, set the tollerances of the solver1 and the
collision solver to very low value.
4. Start simulation.

OBSERVED RESULT
5 GB of internal memory is used (in my case this means a full memory
occupation), and my computer become very slow even after the crash of step. The
only way to go back to normality is reboot and free memory by command line.

EXPECTED RESULT
Before starting the simulation, a warning message should appear, like "You are
going to waste 5 GB of your memory, are you sure? If not, change tolerance
parameters."

SOFTWARE/OS VERSIONS
Linux 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64
x86_64 x86_64 GNU/Linux

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to