Open stonier opened 10 years ago
Happening in the dashboard...
21548-21548/com.github.rosjava.android_remocons.robot_remocon E/ViewRootImpl﹕ sendUserActionEvent() mView == null
12-30 01:37:41.813 21548-23867/com.github.rosjava.android_remocons.robot_remocon E/dalvikvm-heap﹕ Out of memory on a 505152-byte allocation.
12-30 01:37:41.953 21548-23871/com.github.rosjava.android_remocons.robot_remocon E/dalvikvm-heap﹕ Out of memory on a 65552-byte allocation.
12-30 01:37:41.973 21548-23871/com.github.rosjava.android_remocons.robot_remocon E/AndroidRuntime﹕ FATAL EXCEPTION: pool-33-thread-27
java.lang.OutOfMemoryError
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at java.nio.MemoryBlock.allocate(MemoryBlock.java:126)
at java.nio.ReadWriteDirectByteBuffer.<init>(ReadWriteDirectByteBuffer.java:46)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:68)
at org.jboss.netty.channel.socket.nio.SocketSendBufferPool$Preallocation.<init>(SocketSendBufferPool.java:158)
at org.jboss.netty.channel.socket.nio.SocketSendBufferPool.<init>(SocketSendBufferPool.java:40)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.<init>(AbstractNioWorker.java:123)
at org.jboss.netty.channel.socket.nio.NioWorker.<init>(NioWorker.java:44)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:34)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.createWorker(NioWorkerPool.java:26)
at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.<init>(AbstractNioWorkerPool.java:58)
at org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:29)
at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:149)
at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:114)
at org.ros.internal.transport.tcp.TcpClient.<init>(TcpClient.java:64)
at org.ros.internal.transport.tcp.TcpClientManager.connect(TcpClientManager.java:67)
at org.ros.internal.node.service.DefaultServiceClient.connect(DefaultServiceClient.java:135)
at org.ros.internal.node.service.ServiceFactory.newClient(ServiceFactory.java:144)
at org.ros.internal.node.DefaultNode.newServiceClient(DefaultNode.java:365)
at org.ros.internal.node.DefaultNode.newServiceClient(DefaultNode.java:372)
at com.github.rosjava.android_apps.application_management.AppManager.stopApp(AppManager.java:152)
at com.github.rosjava.android_apps.application_management.AppManager.onStart(AppManager.java:205)
at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:506)
at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:503)
at org.ros.concurrent.EventDispatcher.loop(EventDispatcher.java:43)
at org.ros.concurrent.CancellableLoop.run(CancellableLoop.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
12-30 01:37:41.983 301-563/? E/SurfaceFlinger﹕ #### captureScreenImplLocked
12-30 01:37:42.033 21548-23867/com.github.rosjava.android_remocons.robot_remocon E/Dashboard﹕ Error during dashboard instantiation:
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:100)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:117)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:133)
at com.github.rosjava.android_apps.application_management.Dashboard.onStart(Dashboard.java:171)
at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:506)
at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:503)
at org.ros.concurrent.EventDispatcher.loop(EventDispatcher.java:43)
at org.ros.concurrent.CancellableLoop.run(CancellableLoop.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: android.view.InflateException: Binary XML file line #14: Error inflating class <unknown>
at android.view.LayoutInflater.createView(LayoutInflater.java:619)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:693)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:752)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:760)
at android.view.LayoutInflater.inflate(LayoutInflater.java:495)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.github.rosjava.android_apps.application_management.dashboards.DefaultDashboard.inflateSelf(DefaultDashboard.java:78)
at com.github.rosjava.android_apps.application_management.dashboards.DefaultDashboard.<init>(DefaultDashboard.java:70)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:100)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:117)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:133)
at com.github.rosjava.android_apps.application_management.Dashboard.onStart(Dashboard.java:171)
at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:506)
at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:503)
at org.ros.concurrent.EventDispatcher.loop(EventDispatcher.java:43)
at org.ros.concurrent.CancellableLoop.run(CancellableLoop.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:593)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:693)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:752)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:760)
at android.view.LayoutInflater.inflate(LayoutInflater.java:495)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.github.rosjava.android_apps.application_management.dashboards.DefaultDashboard.inflateSelf(DefaultDashboard.java:78)
at com.github.rosjava.android_apps.application_management.dashboards.DefaultDashboard.<init>(DefaultDashboard.java:70)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:100)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:117)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:133)
at com.github.rosjava.android_apps.application_management.Dashboard.onStart(Dashboard.java:171)
at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:506)
at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:503)
at org.ros.concurrent.EventDispatcher.loop(EventDispatcher.java:43)
at org.ros.concurrent.CancellableLoop.run(CancellableLoop.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:596)
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444)
at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:472)
at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:502)
at com.github.rosjava.android_extras.gingerbread.view.BatteryLevelView.init(BatteryLevelView.java:44)
at com.github.rosjava.android_extras.gingerbread.view.BatteryLevelView.<init>(BatteryLevelView.java:35)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:593)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:693)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:752)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:760)
at android.view.LayoutInflater.inflate(LayoutInflater.java:495)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.github.rosjava.android_apps.application_management.dashboards.DefaultDashboard.inflateSelf(DefaultDashboard.java:78)
at com.github.rosjava.android_apps.application_management.dashboards.DefaultDashboard.<init>(DefaultDashboard.java:70)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:100)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:117)
at com.github.rosjava.android_apps.application_management.Dashboard.createDashboard(Dashboard.java:133)
at com.github.rosjava.android_apps.application_management.Dashboard.onStart(Dashboard.java:171)
at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:506)
at org.ros.internal.node.DefaultNode$5.run(DefaultNode.java:503)
at org.ros.concurrent.EventDispatcher.loop(EventDispatcher.java:43)
at org.ros.concurrent.CancellableLoop.run(CancellableLoop.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Switching between running app, robot remocon app list and back again is causing it to go out of memory.