Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

SymbolicBlockMatrix memory leak #30

Open
jorisv opened this issue Dec 1, 2023 · 0 comments
Open

SymbolicBlockMatrix memory leak #30

jorisv opened this issue Dec 1, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jorisv
Copy link
Contributor

jorisv commented Dec 1, 2023

SymbolicBlockMatrix store two raw pointers.

These pointers are not owner by SymbolicBlockMatrix and this create leaks in unit tests and benchmarks.

Two options :

  1. Make SymbolicBlockMatrix owner of these two pointers
  2. Create SymbolicBlockMatrixHandler that will own a SymbolicBlockMatrix and these two pointers

Since these two pointers are only used by SymbolicBlockMatrix I prefer option 1.

@jorisv jorisv added the enhancement New feature or request label Dec 1, 2023
@jorisv jorisv self-assigned this Dec 1, 2023
@jorisv jorisv changed the title SymbolicBlockMatrix leak memory SymbolicBlockMatrix memory leak Dec 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant