Skip to content

Excessive memory usage #350

Description

@Fillipko

System Details

  1. Python Version: Python 3.10.12
  2. Scenic Version: Scenic 3.1.0a1
  3. Operating System: Ubuntu 22.04
  4. CARLA 0.9.15

Detailed Description

  1. After running a single scenario in scenic for any extended period of time, the simulation continues to use more and more memory until crashing (roughly 200 Mb per second). Once the scenario is finished and the simulator moves on to another iteration, the memory usage goes down again, but this is quite problematic with longer scenarios.
  2. Command: scenic --2d car.scenic --simulate
  3. No error log

Steps To Reproduce

  1. Run the CARLA simulator: ./CarlaUE4.sh
  2. Run the example car.scenic file: scenic --2d car.scenic --simulate
  3. Open resource manager (htop) and see the memory usage continuously climb until the system crashes

Issue Submission Checklist

  • I am reporting an issue, not asking a question
  • I checked the open and closed issues, forum, etc. and have not found any solution
  • I have provided all necessary code, etc. to reproduce the issue

Metadata

Metadata

Assignees

Labels

status: validIssue is valid and will be worked ontype: bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions