Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reuse of dbc/arxml objects when processing multiple files #437

Closed
mikesmitti opened this issue Nov 16, 2020 · 2 comments
Closed

Reuse of dbc/arxml objects when processing multiple files #437

mikesmitti opened this issue Nov 16, 2020 · 2 comments

Comments

@mikesmitti
Copy link

Hello,
when processing multiple files I would like to reuse the dbc and arxml objects used in the extract_can_logging method.

This is for memory and performance reasons:
My arxml can be up to 250.000 lines and 20MB of data.

Processing more then a few files at once regularly causes memory errors and a crash of the program.
The reading of the arxml and creation of the object is the most time consuming step when processing a new file.

When processing 100 files, I don´t want to read the same arxml file a 100 times.

Is there a way to achieve this goal?

Best regards

@danielhrisca
Copy link
Owner

Hello @mikesmitti

the development version allows giving the a list of preloaded canmatrix.Database objects

@danielhrisca
Copy link
Owner

release 6.0.0 has this implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants