ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

android_camera_tutorial consuming high memory (raw_image) slow image refresh

asked 2012-04-06 17:23:20 -0500

gopinath gravatar image

Hello, The android_camera tutorial memory consumption is too high. I just upgraded to new version of rosjava_android. I am using one mobile device as RosCameraPreview node which runs roscore and transmits images to another android device (motorola xoom) which subscribes to the message. Both seem to consume high memory and I can see GC constantly running. The frame changes approximately 30 seconds on the ImageTransport side I rarely see the message onFlyCompress. I think this version publishes /camera/raw_image/compressed, that may be the issue, how can I subscribe to /camera/image/compressed ?

The previous version I had was working very well. I recently upgraded to new version. Any ideas to improve the performance ? Regards GOPI

06 23:10:27.667: D/dalvikvm(24445): GC_CONCURRENT freed 1226K, 53% free 3950K/8263K, external 2486K/2773K, paused 2ms+2ms 04-06 23:10:27.977: D/dalvikvm(24445): GC_CONCURRENT freed 1226K, 53% free 3950K/8263K, external 2486K/2773K, paused 2ms+5ms 04-06 23:05:12.377: D/dalvikvm(24445): GC_CONCURRENT freed 1226K, 49% free 3951K/7623K,

external 2486K/2773K, paused 3ms+2ms

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-04-11 04:25:42 -0500

damonkohler gravatar image
edit flag offensive delete link more

Comments

I have the same problem but with image_transport. I'm sorry but can't see any solution in your post, damonkohler

EDIT: I found solution here: http://code.google.com/p/rosjava/issues/detail?id=141

grzebyk gravatar image grzebyk  ( 2013-06-14 12:08:12 -0500 )edit

Question Tools

Stats

Asked: 2012-04-06 17:23:20 -0500

Seen: 1,415 times

Last updated: Apr 11 '12