android_camera_tutorial consuming high memory (raw_image) slow image refresh
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