Skip to main content

Questions tagged [memory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Memory Increase Investigation in a Large ROS2 Planner Node with Mixed Python and C++ Code

I have developed a substantial ROS2 Planner node containing various navigation algorithms, with some components written in Python and others in C++. Pybind11 is used to call C++ algorithms from the ...
Mujadid Ali's user avatar
1 vote
0 answers
28 views

High RAM usage for ROS2 nodes

I am working on a ROS2 system that involves several nodes. Some are more complex than the others. Recently, we have encountered "out of memory" issues, and had a look to the memory ...
milidam's user avatar
  • 11
0 votes
0 answers
23 views

Gazebo doesn't free RAM when deleting a TurtleBot3 model using the /delete_entity service

For the needs of my project, I wrote a node in ROS2 that sequentially pauses the simulation in Gazebo, spawns the TurtleBot3 at the desired location, starts the simulation, pauses the simulation, and ...
mkaniews's user avatar
0 votes
0 answers
147 views

ROS2 CV2 imshow and publish in the same loop fails

I attempted to publish and display an image from a video using cv2 and ros2. Although the code compiled successfully, running it consistently resulted in a memory allocation failure. Could someone ...
Onee's user avatar
  • 1
1 vote
1 answer
49 views

Initializing a ROS2 Message before calling rcl_take

I am writing a custom type support which uses the C type support to save work. Unfortunately I failed to find exact documentation about using the C type support which left me with this question: Has a ...
Deric's user avatar
  • 13
1 vote
0 answers
45 views

Can I avoid leaking memory when calling `plan_sequence_path`?

Context: I am planning motions for a six-axis robot arm moving a tool along a toolpath. I am working in ROS1 Noetic, calling Pilz Industrial Motion Planner's PTP planner through MoveIt's ...
rr-mark's user avatar
  • 11
0 votes
1 answer
27 views

How to get the int value instead of BOOL?

I'm doing the sample of publisher. Here is the section of the file: ...
Garrett Fogerlie's user avatar
0 votes
1 answer
2 views

Why rttest allocates 8GB of memory?

Hello, i'm going thru rttest ulitity and was wondering why "lock_and_prefault_dynamic()" always locks 8GB of heap memory? Steps to reproduce: Build as described in README.md Set unlimited ...
user avatar
0 votes
1 answer
53 views

ROS2 serious memory leak when using timer?

I have created almost the simplest ROS node possible in python with a single time doing nothing - code below. When I run it, memory consumption continuously increases and ultimately the my memory is ...
user avatar
0 votes
1 answer
3 views

minimum memory footprint for Linux and ROS melodic (cameras, lidar)

Looking at "Jetson Nano " Quad Core ARM64 @1.47GHz with max 4GByte RAM and max 16GByte eMMC. It comes with a Ubuntu install, so seems like a good match, Is this memory footprint enough for ...
user avatar
0 votes
1 answer
6 views

Which memory is used while publishing messages in ROS?

When messages are published i.e. fed into a queue, where are these messages stored ? Does it use the physical memory on the disc ? Is there also some memory sharing i.e. is the memory space split ...
user avatar
0 votes
1 answer
5 views

Ros barebones compiled from source for QNX crashes with memory fault

I have successfully cross compiled ROS barebones for QNX to be run on ArmV7. When I attempt to run ros master or rosout the program crashes with a memory fault. Debugging it further reveals that it ...
user avatar
0 votes
1 answer
7 views

Significant slowdown on the Raspberry Pi while building cv_bridge

I invoke the command below to rebuild the Catkin workspace: ...
user avatar
0 votes
1 answer
5 views

move_group Spend a lot of memory

when I run the pi_robot example than I get in 《ros by example 2》,the move_group almost have spent no memory. but for my robot It have spent 1.5G memory. there are same problem ,when I use moveit ...
user avatar
0 votes
1 answer
8 views

sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo -j2 or -j4 or -j1

Hi all, I tried many times to run catkin_make on raspberry PI by using this command : sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo -...
user avatar
0 votes
1 answer
57 views

Ros memory usage

I i'm trying to use an old c++ library of a task planner in ROS. I've tested the library outside ROS and it's works fine. Using Valgrind I can see a lot of memory leaks, but it's Ok, as I say ...
user avatar
0 votes
1 answer
6 views

rosserial too big for Arduino

I am trying to add a magnetometer to my robot by plugging it into an Arduino and publishing the data using MagneticField message. I can't compile my code for Arduino Uno or Leonardo while at the same ...
user avatar
0 votes
1 answer
1 view

problem with running rgbdslamV2

My computer configuration: a quad-core CPU with 4GB of memory. When I run rgbdslamV2, Memory usage reaches 100%。 How can I do to reduce memory usage? Or I must extend memory? Originally posted by ...
user avatar
0 votes
1 answer
1 view

glibc detected, memory issue

I am using the lms1xx driver to read data from a LMS100 laser. I am using ROS hydro. Could someone help me to solve this issue. ...
user avatar
0 votes
2 answers
40 views

ROS Service/Client Memory leak?

Hi everybody, i'm pretty new to ROS and programming, and I hope someone can help me with this problem: Everytime I use a service in one of my nodes, the memory usage of the service node and the client ...
user avatar
0 votes
1 answer
8 views

roscpp memory usage

I used Valgrind to check memory usage in a program I'm creating and found out that the problem is mostly in rosccp. ...
user avatar
0 votes
2 answers
1 view

Is object NodeHandle::serviceClient<theService> small?

Dear all, I'd like to call a service in my main loop. This led me using NodeHandle::serviceClient<theService> At the moment I create a new NodeHandle::...
user avatar
0 votes
1 answer
18 views

RViz memory leak?

Hello all, I noticed that after a long time (hours) my memory was stuffed full when working with our robot. When closing RViz this memory is released. I suspect that there is a memory leak in RViz. To ...
user avatar
0 votes
1 answer
3 views

(shared) cognitive memory programming paradigm in ROS

being message based, ROS allows only topic advertising/publishing/subscribing (broadcast message paradigm), and service calls (client/server paradigm). some cognitive architectures have another ...
user avatar