Git Product home page Git Product logo

Comments (2)

mjcarroll avatar mjcarroll commented on June 24, 2024

I Was thinking in my understanding of rclcpp that a custom allocator would do all the allocating, isn't that the case?

Generally, this should be the case, but I don't believe that we have any test that rigorously guarantees that every piece is using the custom allocators.

Could the fact that the event_handler uses a std::allocator whereas I use a custom one not be a problem?

This is the very likely scenario.

Aren't event_handlers supposed to use the custom allocator?

It should, but once again, there is a chance that it is not.

The best approach would probably be to start looking at the event_handlers and check to see if they are using the custom allocators like they are supposed to. Outside of that, a minimal reproducable example would help a whole lot in investigating this. Getting a Windows + Unreal setup is quite an undertaking.

from rclcpp.

kfabian avatar kfabian commented on June 24, 2024

Could this be related to #2220?

Could the fact that the event_handler uses a std::allocator whereas I use a custom one not be a problem?

This is the very likely scenario.

I think this should not cause an issue as long as each memory location is deallocated using the same allocator that was used for allocating it.

from rclcpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.