Skip to content

Possible memory leak | multiple plans #5

@DavidB-CMU

Description

@DavidB-CMU

Here's how to replicate the problem:

    1. initialize an environment with robot
    1. instantiate CBiRRT planner and request plan
  • < repeat 2 >
    It eventually gobbles up all my RAM.

A second issue I've noticed is that if CBiRRT gets stuck in a weird state and fails to find a solution, subsequent plans with different parameters can also fail to find a solution.

The weird state is seen with this output:

Attached Solver Found a Solution!
Constrained IK solution(s) found!

< repeats forever until 25 sec timeout >

If you make a new request in the same environment, it will also fail in the same way. However if I create a new environment it will find a solution.

So unfortunately the most reliable way to test CBiRRT is to create a new environment for every, single planning request.

This ticket is just a placeholder. More debugging is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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