jPCT-AE - a 3d engine for Android > Support

Error code 1000 and black screen issue

(1/5) > >>

zammbi:
When the application sleeps when jpct is loaded, I'm getting messages in logcat "Error code 1000" from jpct.

When I woke up the app (pressed the power button and unlocked) I got a out of memory error, which I found odd as it had ~20 megs free before the event.

But now it seems to be a blank screen. Is this a bug or something in my code? None of the other phones seem to have this problem.

Its a LG Optimus 2x.


--- Quote ---03-13 15:45:55.431: I/jPCT-AE(12643): OpenGL vendor:     NVIDIA Corporation
03-13 15:45:55.431: I/jPCT-AE(12643): OpenGL renderer:   NVIDIA AP
03-13 15:45:55.431: I/jPCT-AE(12643): OpenGL version:    OpenGL ES-CM 1.1
03-13 15:45:55.431: I/jPCT-AE(12643): OpenGL renderer initialized (using 2 texture stages)
--- End quote ---


Edit: Here is the memory crash, that seems repeatable:



--- Quote ---03-13 16:05:28.981: I/jPCT-AE(14132): GL20 render pipeline initialized!
03-13 16:05:28.981: I/jPCT-AE(14132): OpenGL vendor:     NVIDIA Corporation
03-13 16:05:28.981: I/jPCT-AE(14132): OpenGL renderer:   NVIDIA Tegra
03-13 16:05:28.981: I/jPCT-AE(14132): OpenGL version:    OpenGL ES 2.0
03-13 16:05:28.981: I/jPCT-AE(14132): OpenGL renderer initialized (using 2 texture stages)
03-13 16:05:28.981: I/jPCT-AE(14132): 1fps
03-13 16:05:29.191: D/dalvikvm(14132): GC_FOR_MALLOC freed 10794K, 62% free 11431K/29959K, external 13400K/15441K, paused 25ms
03-13 16:05:29.191: I/dalvikvm-heap(14132): Grow heap (frag case) to 30.569MB for 4194320-byte allocation
03-13 16:05:29.231: D/dalvikvm(14132): GC_FOR_MALLOC freed 65K, 49% free 15462K/29959K, external 13400K/15441K, paused 23ms
03-13 16:05:29.271: D/dalvikvm(14132): GC_CONCURRENT freed 0K, 49% free 15462K/29959K, external 13400K/15441K, paused 2ms+3ms
03-13 16:05:29.291: D/dalvikvm(14132): GC_FOR_MALLOC freed <1K, 49% free 15461K/29959K, external 13400K/15441K, paused 23ms
03-13 16:05:29.301: I/dalvikvm-heap(14132): Grow heap (frag case) to 34.504MB for 4194320-byte allocation
03-13 16:05:29.341: D/dalvikvm(14132): GC_FOR_MALLOC freed 0K, 35% free 19557K/29959K, external 13400K/15441K, paused 23ms
03-13 16:05:29.521: D/dalvikvm(14132): GC_CONCURRENT freed <1K, 35% free 19557K/29959K, external 13400K/15441K, paused 2ms+3ms
03-13 16:05:29.551: D/dalvikvm(14132): GC_EXTERNAL_ALLOC freed 8435K, 63% free 11122K/29959K, external 13400K/15441K, paused 30ms
03-13 16:05:29.711: I/jPCT-AE(14132): OpenGL context has changed(2)...recovering for renderer 3/2!
03-13 16:05:29.711: I/jPCT-AE(14132): Creating buffers...
03-13 16:05:29.981: D/dalvikvm(14132): GC_FOR_MALLOC freed 9562K, 66% free 10218K/29959K, external 14759K/15441K, paused 23ms
03-13 16:05:29.981: I/dalvikvm-heap(14132): Forcing collection of SoftReferences for 6536076-byte allocation
03-13 16:05:30.001: D/dalvikvm(14132): GC_FOR_MALLOC freed 8K, 66% free 10210K/29959K, external 14759K/15441K, paused 22ms
03-13 16:05:30.001: E/dalvikvm-heap(14132): Out of memory on a 6536076-byte allocation.
03-13 16:05:30.001: I/dalvikvm(14132): "GLThread 24" prio=5 tid=21 RUNNABLE
03-13 16:05:30.001: I/dalvikvm(14132):   | group="main" sCount=0 dsCount=0 obj=0x405758a0 self=0x5b2688
03-13 16:05:30.001: I/dalvikvm(14132):   | sysTid=14516 nice=0 sched=0/0 cgrp=default handle=6389416
03-13 16:05:30.001: I/dalvikvm(14132):   | schedstat=( 19215072000 17495376000 22424 )
03-13 16:05:30.001: I/dalvikvm(14132):   at java.io.ByteArrayOutputStream.expand(ByteArrayOutputStream.java:~91)
03-13 16:05:30.001: I/dalvikvm(14132):   at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:216)
03-13 16:05:30.001: I/dalvikvm(14132):   at com.threed.jpct.ZipHelper.unzip(ZipHelper.java:30)
03-13 16:05:30.001: I/dalvikvm(14132):   at com.threed.jpct.GLRenderer.convertTexture(GLRenderer.java:769)
03-13 16:05:30.001: I/dalvikvm(14132):   at com.threed.jpct.GLRenderer.setTextures(GLRenderer.java:2258)
03-13 16:05:30.001: I/dalvikvm(14132):   at com.threed.jpct.GLRenderer.drawVertexArray(GLRenderer.java:2183)
03-13 16:05:30.001: I/dalvikvm(14132):   at com.threed.jpct.World.draw(World.java:1309)
03-13 16:05:30.001: I/dalvikvm(14132):   at com.threed.jpct.World.draw(World.java:1076)
03-13 16:05:30.001: I/dalvikvm(14132):   at com.synapse.android.cricscore.wagonwheel.World3DBase.renderGame(World3DBase.java:362)
03-13 16:05:30.001: I/dalvikvm(14132):   at com.synapse.android.cricscore.wagonwheel.World3DBase.onDrawFrame(World3DBase.java:423)
03-13 16:05:30.001: I/dalvikvm(14132):   at com.synapse.android.cricscore.wagonwheel.WWActivity$1.onDrawFrame(WWActivity.java:187)
03-13 16:05:30.001: I/dalvikvm(14132):   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1363)
03-13 16:05:30.001: I/dalvikvm(14132):   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)
03-13 16:05:30.011: W/dalvikvm(14132): threadid=21: thread exiting with uncaught exception (group=0x4001d560)
03-13 16:05:30.011: E/AndroidRuntime(14132): FATAL EXCEPTION: GLThread 24
03-13 16:05:30.011: E/AndroidRuntime(14132): java.lang.OutOfMemoryError
03-13 16:05:30.011: E/AndroidRuntime(14132):    at java.io.ByteArrayOutputStream.expand(ByteArrayOutputStream.java:91)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:216)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at com.threed.jpct.ZipHelper.unzip(ZipHelper.java:30)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at com.threed.jpct.GLRenderer.convertTexture(GLRenderer.java:769)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at com.threed.jpct.GLRenderer.setTextures(GLRenderer.java:2258)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at com.threed.jpct.GLRenderer.drawVertexArray(GLRenderer.java:2183)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at com.threed.jpct.World.draw(World.java:1309)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at com.threed.jpct.World.draw(World.java:1076)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at com.synapse.android.cricscore.wagonwheel.World3DBase.renderGame(World3DBase.java:362)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at com.synapse.android.cricscore.wagonwheel.World3DBase.onDrawFrame(World3DBase.java:423)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at com.synapse.android.cricscore.wagonwheel.WWActivity$1.onDrawFrame(WWActivity.java:187)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1363)
03-13 16:05:30.011: E/AndroidRuntime(14132):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)
--- End quote ---

EgonOlsen:
I've no idea about that "Error code 1000" output. I'm not printing this message. It might be some opengl related error that i just pirint out, but i somehow doubt it. Are you able to reproduce this problem and post a log?

The problem with the OOM doesn't seem to be caused by VM memory but by native memory. Looking at the output external 14759K/15441K, the memory outside of the VM seems to be filled. You might want to check if you are keeping references to Bitmaps or something similar. If that's not the case...how large is that texture? It trys to enlarge the ByteArrayOutputStream by 6mb, which means that the texture itself has to be much larger. Have you tried to reduce texture size?

In addition, it might help if you


* set Logger to LL_DEBUG
* post the log from start to crash

zammbi:

--- Quote ---I've no idea about that "Error code 1000" output. I'm not printing this message. It might be some opengl related error that i just pirint out, but i somehow doubt it. Are you able to reproduce this problem and post a log?

--- End quote ---
It seems to be linked to some broken webview stuff on this phone. So lets just ignore that in that case.


--- Quote ---The problem with the OOM doesn't seem to be caused by VM memory but by native memory.
--- End quote ---

By my research that when "(Debug.getNativeHeapAllocatedSize() +4) < Runtime.getRuntime().maxMemory()" it should never run out of memory. That native heap is included in "maxMemory".


--- Quote ---if you are keeping references to Bitmaps or something similar.

--- End quote ---
Nope.


--- Quote ---If that's not the case...how large is that texture?

--- End quote ---
2 images at 1024x1024(for top end phones).
While the images are large, I expect devices with such large free memory to handle it.

If tested this on a tablet(Samsung tab 10.1, which also has a NVIDIA chip) and it also seems to get this crash. Before I load the 2 images I get reported 54 megs free. The Samsung tab is running Android 3.1 which I believe now puts images in the java heap and not the native heap. Or so I've read...


Samsung tab 10.1 log:


--- Quote ---03-14 10:30:14.040: D/dalvikvm(27261): GC_CONCURRENT freed 1039K, 10% free 10514K/11655K, paused 2ms+5ms
03-14 10:30:14.070: I/jPCT-AE(27261): MATCH ID: 7871
03-14 10:30:14.070: D/WW(27261): Checking device stats... Max mem:64 Cpus:2
03-14 10:30:14.070: D/WW(27261): Turning on AA.
03-14 10:30:14.070: D/WW(27261): Using OpenGL 2.0
03-14 10:30:14.070: D/WWActivity(27261): ON START
03-14 10:30:14.120: D/libEGL(27261): loaded /system/lib/egl/libGLES_android.so
03-14 10:30:14.120: D/libEGL(27261): loaded /system/lib/egl/libEGL_tegra.so
03-14 10:30:14.120: D/WWActivity(27261): SERVICE CONNECTED
03-14 10:30:14.130: D/WWActivity(27261): RUNNING: true
03-14 10:30:14.150: D/WWActivity(27261): URL: http://crichq-staging-629692596.us-west-1.elb.amazonaws.com/mobile/matches/live_matches/7871/wagon_wheel
03-14 10:30:14.150: D/libEGL(27261): loaded /system/lib/egl/libGLESv1_CM_tegra.so
03-14 10:30:14.160: D/libEGL(27261): loaded /system/lib/egl/libGLESv2_tegra.so
03-14 10:30:14.170: I/jPCT-AE(27261): CSAA enabled!
03-14 10:30:14.230: I/jPCT-AE(27261): GLRenderer created with id 0 on Thread[GLThread 23,5,main]
03-14 10:30:14.230: I/jPCT-AE(27261): Initializing GL20 render pipeline...
03-14 10:30:14.230: I/jPCT-AE(27261): Accessing shaders via JAR!
03-14 10:30:14.230: I/jPCT-AE(27261): Loading default shaders !
03-14 10:30:14.230: I/jPCT-AE(27261): 0 shaders in replacement map!
03-14 10:30:14.230: I/jPCT-AE(27261): Default fragment shader is: /defaultFragmentShader.src
03-14 10:30:14.350: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:14.350: I/jPCT-AE(27261): Text file from InputStream loaded...2008 bytes
03-14 10:30:14.350: I/jPCT-AE(27261): Default vertex shader is: /defaultVertexShader.src
03-14 10:30:14.350: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:14.350: I/jPCT-AE(27261): Text file from InputStream loaded...3897 bytes
03-14 10:30:14.350: I/jPCT-AE(27261): Compiling shader program!
03-14 10:30:14.590: I/jPCT-AE(27261): Handles of 3: 2/28
03-14 10:30:14.600: I/jPCT-AE(27261): Loading default shaders (Tex0)!
03-14 10:30:14.600: I/jPCT-AE(27261): 0 shaders in replacement map!
03-14 10:30:14.600: I/jPCT-AE(27261): Default fragment shader is: /defaultFragmentShader.src
03-14 10:30:14.600: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:14.600: I/jPCT-AE(27261): Text file from InputStream loaded...201 bytes
03-14 10:30:14.600: I/jPCT-AE(27261): Default vertex shader is: /defaultVertexShader.src
03-14 10:30:14.600: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:14.620: I/jPCT-AE(27261): Text file from InputStream loaded...3421 bytes
03-14 10:30:14.620: I/jPCT-AE(27261): Compiling shader program!
03-14 10:30:14.670: D/dalvikvm(27261): GC_CONCURRENT freed 978K, 9% free 10960K/12039K, paused 4ms+3ms
03-14 10:30:14.730: I/jPCT-AE(27261): Handles of 6: 2/21
03-14 10:30:14.730: I/jPCT-AE(27261): Loading default shaders (Tex1)!
03-14 10:30:14.730: I/jPCT-AE(27261): 0 shaders in replacement map!
03-14 10:30:14.730: I/jPCT-AE(27261): Default fragment shader is: /defaultFragmentShader.src
03-14 10:30:14.730: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:14.730: I/jPCT-AE(27261): Text file from InputStream loaded...871 bytes
03-14 10:30:14.730: I/jPCT-AE(27261): Default vertex shader is: /defaultVertexShader.src
03-14 10:30:14.730: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:14.730: I/jPCT-AE(27261): Text file from InputStream loaded...3791 bytes
03-14 10:30:14.730: I/jPCT-AE(27261): Compiling shader program!
03-14 10:30:14.790: D/CricHQService(27261): Content-Type: text/html; charset=utf-8
03-14 10:30:14.790: D/CricHQService(27261): 5831
03-14 10:30:14.790: D/CricHQService(27261): utf-8
03-14 10:30:14.800: D/CricHQService(27261): {"balls":[{"wagonWheel":null,"pitchMap":{"back_square":8,"bad_bowl":false,"pitch_square":2},"runs":0},{"wagonWheel":{"hit_angle_rads":4.483394,"cut_slider_proportion":1,"height_slider_proportion":0.25,"ellipse_proportion":1.063881,"arc_sector":4},"pitchMap":{"back_square":1,"bad_bowl":false,"pitch_square":1},"runs":6},{"wagonWheel":{"hit_angle_rads":5.515028,"cut_slider_proportion":0.7283465,"height_slider_proportion":0.7598425,"ellipse_proportion":1,"arc_sector":5},"pitchMap":{"back_square":1,"bad_bowl":false,"pitch_square":9},"runs":4},{"wagonWheel":{"hit_angle_rads":5.803667,"cut_slider_proportion":1,"height_slider_proportion":0.05,"ellipse_proportion":0.8780316,"arc_sector":5},"pitchMap":{"back_square":2,"bad_bowl":false,"pitch_square":5},"runs":2},{"wagonWheel":{"hit_angle_rads":4.882167,"cut_slider_proportion":0.8543307,"height_slider_proportion":0.2322835,"ellipse_proportion":0.556477,"arc_sector":4},"pitchMap":{"back_square":5,"bad_bowl":false,"pitch_square":5},"runs":0},{"wagonWheel":{"hit_angle_rads":1.610775,"cut_slider_proportion":1,"height_slider_proportion":0.05,"ellipse_proportion":0.3946149,"arc_sector":1},"pitchMap":{"back_square":8,"bad_bowl":false,"pitch_square":2},"runs":0},{"wagonWheel":{"hit_angle_rads":0.3982132,"cut_slider_proportion":1,"height_slider_proportion":1,"ellipse_proportion":1,"arc_sector":0},"pitchMap":{"back_square":9,"bad_bowl":false,"pitch_square":3},"runs":6},{"wagonWheel":null,"pitchMap":{"back_square":4,"bad_bowl":false,"pitch_square":5},"runs":0},{"wagonWheel":{"hit_angle_rads":5.028821,"cut_slider_proportion":0.7204725,"height_slider_proportion":0.3267716,"ellipse_proportion":1,"arc_sector":5},"pitchMap":{"back_square":4,"bad_bowl":false,"pitch_square":5},"runs":4},{"wagonWheel":{"hit_angle_rads":3.740932,"cut_slider_proportion":1,"height_slider_proportion":0.05,"ellipse_proportion":0.791822,"arc_sector":3},"pitchMap":{"back_square":8,"bad_bowl":false,"pitch_square":2},"runs":2},{"wagonWheel":null,"pitchMap":{"back_square":2,"bad_bowl":false,"pitch_square":5},"runs":0},{"wagonWheel":{"hit_angle_rads":4.354822,"cut_slider_proportion":0.6732283,"height_slider_proportion":0.6574803,"ellipse_proportion":1,"arc_sector":4},"pitchMap":{"back_square":7,"bad_bowl":false,"pitch_square":null},"runs":4},{"wagonWheel":{"hit_angle_rads":3.955231,"cut_slider_proportion":0.3031496,"height_slider_proportion":0.1850394,"ellipse_proportion":0.8688989,"arc_sector":3},"pitchMap":{"back_square":7,"bad_bowl":false,"pitch_square":1},"runs":3},{"wagonWheel":{"hit_angle_rads":0.4012282,"cut_slider_proportion":0.5629922,"height_slider_proportion":0.2480315,"ellipse_proportion":0.8726951,"arc_sector":0},"pitchMap":{"back_square":5,"bad_bowl":false,"pitch_square":5},"runs":2},{"wagonWheel":null,"pitchMap":{"back_square":2,"bad_bowl":false,"pitch_square":8},"runs":0},{"wagonWheel":{"hit_angle_rads":1.248425,"cut_slider_proportion":1,"height_slider_proportion":1,"ellipse_proportion":2,"arc_sector":0},"pitchMap":{"back_square":2,"bad_bowl":false,"pitch_square":8},"runs":6},{"wagonWheel":null,"pitchMap":{"back_square":5,"bad_bowl":false,"pitch_square":5},"runs":0},{"wagonWheel":{"hit_angle_rads":3.195242,"cut_slider_proportion":1,"height_slider_proportion":1,"ellipse_proportion":2,"arc_sector":3},"pitchMap":{"back_square":8,"bad_bowl":false,"pitch_square":2},"runs":6},{"wagonWheel":{"hit_angle_rads":1.509639,"cut_slider_proportion":1,"height_slider_proportion":0.7785433,"ellipse_proportion":1.329352,"arc_sector":1},"pitchMap":{"back_square":5,"bad_bowl":false,"pitch_square":5},"runs":6},{"wagonWheel":{"hit_angle_rads":4.432281,"cut_slider_proportion":1,"height_slider_proportion":1,"ellipse_proportion":0.5881524,"arc_sector":4},"pitchMap":{"back_square":5,"bad_bowl":false,"pitch_square":5},"runs":0},{"wagonWheel":null,"pitchMap":{"back_square":4,"bad_bowl":false,"pitch_square":5},"runs":0},{"wagonWheel":{"hit_angle_rads":3.164316,"cut_slider_proportion":0.7519685,"height_slider_proportion":0.6732283,"ellipse_proportion":1,"arc_sector":3},"pitchMap":{"back_square":8,"bad_bowl"
03-14 10:30:14.800: I/jPCT-AE(27261): Error Code: 0
03-14 10:30:14.810: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":4,"height_slider_proportion":0.25,"cut_slider_proportion":1,"ellipse_proportion":1.063881,"hit_angle_rads":4.483394}
03-14 10:30:14.810: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":5,"height_slider_proportion":0.7598425,"cut_slider_proportion":0.7283465,"ellipse_proportion":1,"hit_angle_rads":5.515028}
03-14 10:30:14.810: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":5,"height_slider_proportion":0.05,"cut_slider_proportion":1,"ellipse_proportion":0.8780316,"hit_angle_rads":5.803667}
03-14 10:30:14.820: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":4,"height_slider_proportion":0.2322835,"cut_slider_proportion":0.8543307,"ellipse_proportion":0.556477,"hit_angle_rads":4.882167}
03-14 10:30:14.820: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":1,"height_slider_proportion":0.05,"cut_slider_proportion":1,"ellipse_proportion":0.3946149,"hit_angle_rads":1.610775}
03-14 10:30:14.820: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":0,"height_slider_proportion":1,"cut_slider_proportion":1,"ellipse_proportion":1,"hit_angle_rads":0.3982132}
03-14 10:30:14.820: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":5,"height_slider_proportion":0.3267716,"cut_slider_proportion":0.7204725,"ellipse_proportion":1,"hit_angle_rads":5.028821}
03-14 10:30:14.820: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":3,"height_slider_proportion":0.05,"cut_slider_proportion":1,"ellipse_proportion":0.791822,"hit_angle_rads":3.740932}
03-14 10:30:14.820: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":4,"height_slider_proportion":0.6574803,"cut_slider_proportion":0.6732283,"ellipse_proportion":1,"hit_angle_rads":4.354822}
03-14 10:30:14.820: I/dalvikvm(27261): Jit: resizing JitTable from 4096 to 8192
03-14 10:30:14.830: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":3,"height_slider_proportion":0.1850394,"cut_slider_proportion":0.3031496,"ellipse_proportion":0.8688989,"hit_angle_rads":3.955231}
03-14 10:30:14.830: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":0,"height_slider_proportion":0.2480315,"cut_slider_proportion":0.5629922,"ellipse_proportion":0.8726951,"hit_angle_rads":0.4012282}
03-14 10:30:14.830: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":0,"height_slider_proportion":1,"cut_slider_proportion":1,"ellipse_proportion":2,"hit_angle_rads":1.248425}
03-14 10:30:14.840: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":3,"height_slider_proportion":1,"cut_slider_proportion":1,"ellipse_proportion":2,"hit_angle_rads":3.195242}
03-14 10:30:14.840: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":1,"height_slider_proportion":0.7785433,"cut_slider_proportion":1,"ellipse_proportion":1.329352,"hit_angle_rads":1.509639}
03-14 10:30:14.840: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":4,"height_slider_proportion":1,"cut_slider_proportion":1,"ellipse_proportion":0.5881524,"hit_angle_rads":4.432281}
03-14 10:30:14.840: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":3,"height_slider_proportion":0.6732283,"cut_slider_proportion":0.7519685,"ellipse_proportion":1,"hit_angle_rads":3.164316}
03-14 10:30:14.840: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":1,"height_slider_proportion":0.05,"cut_slider_proportion":1,"ellipse_proportion":0.599682,"hit_angle_rads":1.544486}
03-14 10:30:14.840: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":5,"height_slider_proportion":0.05,"cut_slider_proportion":1,"ellipse_proportion":1,"hit_angle_rads":5.226536}
03-14 10:30:14.840: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":5,"height_slider_proportion":0.2874016,"cut_slider_proportion":0.6102362,"ellipse_proportion":0.8631719,"hit_angle_rads":5.337499}
03-14 10:30:14.840: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":3,"height_slider_proportion":0.8070866,"cut_slider_proportion":0.8464567,"ellipse_proportion":1,"hit_angle_rads":3.21234}
03-14 10:30:14.840: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":5,"height_slider_proportion":0.05,"cut_slider_proportion":1,"ellipse_proportion":0.5535527,"hit_angle_rads":5.566645}
03-14 10:30:14.840: I/jPCT-AE(27261): Wagon Wheel: {"arc_sector":0,"height_slider_proportion":0.05,"cut_slider_proportion":1,"ellipse_proportion":0.8503579,"hit_angle_rads":0.4701827}
03-14 10:30:14.860: I/jPCT-AE(27261): Handles of 9: 2/26
03-14 10:30:14.860: I/jPCT-AE(27261): Loading default shaders (Tex0Light0)!
03-14 10:30:14.860: I/jPCT-AE(27261): 0 shaders in replacement map!
03-14 10:30:14.860: I/jPCT-AE(27261): Default fragment shader is: /defaultFragmentShader.src
03-14 10:30:14.860: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:14.860: I/jPCT-AE(27261): Text file from InputStream loaded...201 bytes
03-14 10:30:14.860: I/jPCT-AE(27261): Default vertex shader is: /defaultVertexShader.src
03-14 10:30:14.870: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:14.870: I/jPCT-AE(27261): Text file from InputStream loaded...1200 bytes
03-14 10:30:14.870: I/jPCT-AE(27261): Compiling shader program!
03-14 10:30:14.890: I/jPCT-AE(27261): Handles of 12: 2/6
03-14 10:30:14.890: I/jPCT-AE(27261): Loading default shaders (Fog)!
03-14 10:30:14.890: I/jPCT-AE(27261): 0 shaders in replacement map!
03-14 10:30:14.890: I/jPCT-AE(27261): Default fragment shader is: /defaultFragmentShader.src
03-14 10:30:14.890: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:14.890: I/jPCT-AE(27261): Text file from InputStream loaded...328 bytes
03-14 10:30:14.890: I/jPCT-AE(27261): Default vertex shader is: /defaultVertexShader.src
03-14 10:30:14.890: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:14.890: I/jPCT-AE(27261): Text file from InputStream loaded...3668 bytes
03-14 10:30:14.900: I/jPCT-AE(27261): Compiling shader program!
03-14 10:30:15.000: I/jPCT-AE(27261): Handles of 15: 2/24
03-14 10:30:15.000: I/jPCT-AE(27261): Loading default shaders (FogLight0)!
03-14 10:30:15.000: I/jPCT-AE(27261): 0 shaders in replacement map!
03-14 10:30:15.000: I/jPCT-AE(27261): Default fragment shader is: /defaultFragmentShader.src
03-14 10:30:15.000: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:15.000: I/jPCT-AE(27261): Text file from InputStream loaded...328 bytes
03-14 10:30:15.000: I/jPCT-AE(27261): Default vertex shader is: /defaultVertexShader.src
03-14 10:30:15.000: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:15.000: I/jPCT-AE(27261): Text file from InputStream loaded...1516 bytes
03-14 10:30:15.000: I/jPCT-AE(27261): Compiling shader program!
03-14 10:30:15.040: I/jPCT-AE(27261): Handles of 18: 2/9
03-14 10:30:15.040: I/jPCT-AE(27261): Loading default shaders (Tex0Amb)!
03-14 10:30:15.040: I/jPCT-AE(27261): 0 shaders in replacement map!
03-14 10:30:15.040: I/jPCT-AE(27261): Default fragment shader is: /defaultFragmentShader.src
03-14 10:30:15.040: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:15.040: I/jPCT-AE(27261): Text file from InputStream loaded...199 bytes
03-14 10:30:15.040: I/jPCT-AE(27261): Default vertex shader is: /defaultVertexShader.src
03-14 10:30:15.040: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:15.040: I/jPCT-AE(27261): Text file from InputStream loaded...757 bytes
03-14 10:30:15.040: I/jPCT-AE(27261): Compiling shader program!
03-14 10:30:15.050: I/jPCT-AE(27261): Handles of 21: 1/3
03-14 10:30:15.050: I/jPCT-AE(27261): Loading default shaders (Depth)!
03-14 10:30:15.050: I/jPCT-AE(27261): 0 shaders in replacement map!
03-14 10:30:15.050: I/jPCT-AE(27261): Default fragment shader is: /defaultFragmentShader.src
03-14 10:30:15.050: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:15.050: I/jPCT-AE(27261): Text file from InputStream loaded...745 bytes
03-14 10:30:15.050: I/jPCT-AE(27261): Default vertex shader is: /defaultVertexShader.src
03-14 10:30:15.050: I/jPCT-AE(27261): Loading file from InputStream
03-14 10:30:15.060: I/jPCT-AE(27261): Text file from InputStream loaded...248 bytes
03-14 10:30:15.060: I/jPCT-AE(27261): Compiling shader program!
03-14 10:30:15.070: I/jPCT-AE(27261): Handles of 24: 0/0
03-14 10:30:15.070: I/jPCT-AE(27261): GL20 render pipeline initialized!
03-14 10:30:15.070: I/jPCT-AE(27261): OpenGL vendor:     NVIDIA Corporation
03-14 10:30:15.070: I/jPCT-AE(27261): OpenGL renderer:   NVIDIA Tegra
03-14 10:30:15.070: I/jPCT-AE(27261): OpenGL version:    OpenGL ES 2.0
03-14 10:30:15.070: I/jPCT-AE(27261): OpenGL renderer initialized (using 2 texture stages)
03-14 10:30:15.070: D/WW(27261): World is null. Being created...
03-14 10:30:15.070: I/jPCT-AE(27261): Adding Lightsource: 0
03-14 10:30:15.080: D/PhoneRank(27261): Max mem64 mem left:54
03-14 10:30:15.080: D/PhoneRank(27261): Very high ram free.
03-14 10:30:15.110: D/dalvikvm(27261): GC_FOR_ALLOC freed 735K, 11% free 10818K/12039K, paused 33ms
03-14 10:30:15.110: I/dalvikvm-heap(27261): Grow heap (frag case) to 12.660MB for 2097168-byte allocation
03-14 10:30:15.140: D/dalvikvm(27261): GC_FOR_ALLOC freed 3K, 10% free 12863K/14151K, paused 30ms
03-14 10:30:15.190: I/jPCT-AE(27261): Loading Texture...
03-14 10:30:15.190: D/dalvikvm(27261): GC_CONCURRENT freed 0K, 10% free 12863K/14151K, paused 2ms+3ms
03-14 10:30:15.220: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 10% free 12863K/14151K, paused 30ms
03-14 10:30:15.230: I/dalvikvm-heap(27261): Grow heap (frag case) to 16.657MB for 4194320-byte allocation
03-14 10:30:15.260: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 8% free 16959K/18311K, paused 30ms
03-14 10:30:15.260: I/jPCT-AE(27261): Texture loaded...4194304 bytes
03-14 10:30:15.290: D/dalvikvm(27261): GC_CONCURRENT freed <1K, 8% free 16961K/18311K, paused 2ms+3ms
03-14 10:30:15.320: D/dalvikvm(27261): GC_FOR_ALLOC freed 2048K, 19% free 14913K/18311K, paused 30ms
03-14 10:30:15.330: I/dalvikvm-heap(27261): Grow heap (frag case) to 18.659MB for 4194320-byte allocation
03-14 10:30:15.370: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 16% free 19009K/22471K, paused 29ms
03-14 10:30:15.480: D/dalvikvm(27261): GC_CONCURRENT freed 0K, 11% free 20033K/22471K, paused 2ms+3ms
03-14 10:30:16.530: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 11% free 20033K/22471K, paused 38ms
03-14 10:30:16.540: I/dalvikvm-heap(27261): Grow heap (frag case) to 21.660MB for 2097188-byte allocation
03-14 10:30:16.600: D/dalvikvm(27261): GC_CONCURRENT freed 0K, 11% free 22081K/24583K, paused 4ms+3ms
03-14 10:30:16.700: I/jPCT-AE(27261): Compressed 4194304 bytes to 1110217 bytes!
03-14 10:30:16.730: D/dalvikvm(27261): GC_FOR_ALLOC freed 5120K, 32% free 16962K/24583K, paused 32ms
03-14 10:30:16.730: I/jPCT-AE(27261): Texture compressed to 26% (1110217/4194304) of uncompressed size!
03-14 10:30:16.760: D/dalvikvm(27261): GC_FOR_ALLOC freed 6145K, 52% free 11902K/24583K, paused 30ms
03-14 10:30:16.770: I/dalvikvm-heap(27261): Grow heap (frag case) to 15.718MB for 4194320-byte allocation
03-14 10:30:16.820: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 35% free 15998K/24583K, paused 30ms
03-14 10:30:16.860: D/dalvikvm(27261): GC_CONCURRENT freed <1K, 35% free 15998K/24583K, paused 2ms+3ms
03-14 10:30:17.000: I/jPCT-AE(27261): Loading Texture...
03-14 10:30:17.030: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 35% free 15998K/24583K, paused 29ms
03-14 10:30:17.030: I/dalvikvm-heap(27261): Grow heap (frag case) to 19.718MB for 4194320-byte allocation
03-14 10:30:17.070: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 19% free 20094K/24583K, paused 29ms
03-14 10:30:17.080: I/jPCT-AE(27261): Texture loaded...4194304 bytes
03-14 10:30:17.120: D/dalvikvm(27261): GC_CONCURRENT freed <1K, 19% free 20094K/24583K, paused 2ms+3ms
03-14 10:30:17.170: D/dalvikvm(27261): GC_FOR_ALLOC freed 4096K, 35% free 15998K/24583K, paused 29ms
03-14 10:30:17.170: I/dalvikvm-heap(27261): Grow heap (frag case) to 19.718MB for 4194320-byte allocation
03-14 10:30:17.270: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 19% free 20094K/24583K, paused 30ms
03-14 10:30:17.320: D/dalvikvm(27261): GC_CONCURRENT freed <1K, 15% free 21119K/24583K, paused 2ms+3ms
03-14 10:30:17.780: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 15% free 21119K/24583K, paused 29ms
03-14 10:30:17.780: I/dalvikvm-heap(27261): Grow heap (frag case) to 22.719MB for 2097188-byte allocation
03-14 10:30:17.830: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 6% free 23167K/24583K, paused 29ms
03-14 10:30:17.880: D/dalvikvm(27261): GC_CONCURRENT freed 1024K, 10% free 22143K/24583K, paused 2ms+3ms
03-14 10:30:18.130: I/jPCT-AE(27261): Compressed 4194304 bytes to 1633755 bytes!
03-14 10:30:18.160: D/dalvikvm(27261): GC_FOR_ALLOC freed 4096K, 27% free 18047K/24583K, paused 29ms
03-14 10:30:18.160: I/jPCT-AE(27261): Texture compressed to 38% (1633755/4194304) of uncompressed size!
03-14 10:30:18.160: I/jPCT-AE(27261): Loading Texture...
03-14 10:30:18.160: I/jPCT-AE(27261): Texture loaded...65536 bytes
03-14 10:30:18.170: I/jPCT-AE(27261): Compressed 65536 bytes to 516 bytes!
03-14 10:30:18.170: I/jPCT-AE(27261): Texture compressed to 0% (516/65536) of uncompressed size!
03-14 10:30:18.170: D/szipinf(27261): Initializing inflate state
03-14 10:30:18.170: D/szipinf(27261): Initializing zlib to inflate
03-14 10:30:18.260: D/dalvikvm(27261): GC_CONCURRENT freed 6360K, 45% free 13727K/24583K, paused 2ms+4ms
03-14 10:30:18.320: I/jPCT-AE(27261): Normal vectors calculated in 60ms!
03-14 10:30:18.320: D/szipinf(27261): Initializing inflate state
03-14 10:30:18.320: D/szipinf(27261): Initializing zlib to inflate
03-14 10:30:18.330: I/jPCT-AE(27261): Memory usage before compacting: 14243 KB used out of 24583 KB. Max. memory available to the VM is 65536 KB.
03-14 10:30:18.380: D/dalvikvm(27261): GC_EXPLICIT freed 452K, 44% free 13791K/24583K, paused 3ms+3ms
03-14 10:30:18.420: D/dalvikvm(27261): GC_EXPLICIT freed 2K, 44% free 13789K/24583K, paused 2ms+3ms
03-14 10:30:18.570: I/jPCT-AE(27261): Memory usage after compacting: 13789 KB used out of 24583 KB. Max. memory available to the VM is 65536 KB.
03-14 10:30:18.590: I/jPCT-AE(27261): Checking for triangle strip...
03-14 10:30:18.590: I/jPCT-AE(27261): Not a triangle strip at position 1!
03-14 10:30:18.630: I/jPCT-AE(27261): Subobject of object 2/object4 compiled to indexed fixed point data using 2598 vertices in 42ms!
03-14 10:30:18.630: I/jPCT-AE(27261): Processing and uploading vertices of subobject of object 2/object4 took 42ms
03-14 10:30:18.630: I/jPCT-AE(27261): Checking for triangle strip...
03-14 10:30:18.630: I/jPCT-AE(27261): Not a triangle strip at position 1!
03-14 10:30:18.630: I/jPCT-AE(27261): Subobject of object 2/object4 compiled to indexed fixed point data using 384 vertices in 2ms!
03-14 10:30:18.630: I/jPCT-AE(27261): Processing and uploading vertices of subobject of object 2/object4 took 2ms
03-14 10:30:18.630: I/jPCT-AE(27261): Object 2/object4 compiled to 2 subobjects in 62ms!
03-14 10:30:18.630: I/jPCT-AE(27261): Object 'object4' uses multiple texture sets!
03-14 10:30:18.640: I/jPCT-AE(27261): Checking for triangle strip...
03-14 10:30:18.640: I/jPCT-AE(27261): Not a triangle strip at position 1!
03-14 10:30:18.650: I/jPCT-AE(27261): Subobject of object 3/object5 compiled to indexed fixed point data using 2580 vertices in 14ms!
03-14 10:30:18.650: I/jPCT-AE(27261): Processing and uploading vertices of subobject of object 3/object5 took 14ms
03-14 10:30:18.650: I/jPCT-AE(27261): Object 3/object5 compiled to 1 subobjects in 20ms!
03-14 10:30:18.650: I/jPCT-AE(27261): Object 'object5' uses one texture set!
03-14 10:30:18.650: I/jPCT-AE(27261): 0fps
03-14 10:30:18.650: I/jPCT-AE(27261): New texture's id is: 1
03-14 10:30:18.650: I/jPCT-AE(27261): New texture uploaded: com.threed.jpct.Texture@40ab6d08 in thread Thread[GLThread 23,5,main]
03-14 10:30:18.650: I/jPCT-AE(27261): Creating buffers...
03-14 10:30:18.650: I/jPCT-AE(27261): VBO created for object 'object5'
03-14 10:30:18.700: D/dalvikvm(27261): GC_FOR_ALLOC freed 1416K, 44% free 13930K/24583K, paused 38ms
03-14 10:30:18.700: I/dalvikvm-heap(27261): Grow heap (frag case) to 15.829MB for 2220450-byte allocation
03-14 10:30:18.740: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 35% free 16098K/24583K, paused 30ms
03-14 10:30:18.790: D/dalvikvm(27261): GC_CONCURRENT freed <1K, 35% free 16099K/24583K, paused 2ms+4ms
03-14 10:30:18.890: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 35% free 16099K/24583K, paused 29ms
03-14 10:30:18.890: I/dalvikvm-heap(27261): Grow heap (frag case) to 20.066MB for 4442412-byte allocation
03-14 10:30:18.930: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 17% free 20437K/24583K, paused 29ms
03-14 10:30:18.990: D/dalvikvm(27261): GC_CONCURRENT freed 2168K, 26% free 18269K/24583K, paused 2ms+3ms
03-14 10:30:19.030: I/jPCT-AE(27261): Uncompressed 1110217 bytes to 4194304 bytes in 375ms!
03-14 10:30:19.060: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 26% free 18269K/24583K, paused 30ms
03-14 10:30:19.070: I/dalvikvm-heap(27261): Grow heap (frag case) to 21.949MB for 4194320-byte allocation
03-14 10:30:19.110: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 23% free 22365K/28743K, paused 30ms
03-14 10:30:19.150: D/dalvikvm(27261): GC_CONCURRENT freed <1K, 23% free 22365K/28743K, paused 2ms+4ms
03-14 10:30:19.190: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 23% free 22365K/28743K, paused 29ms
03-14 10:30:19.200: I/dalvikvm-heap(27261): Grow heap (frag case) to 25.949MB for 4194320-byte allocation
03-14 10:30:19.250: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 20% free 26461K/32903K, paused 38ms
03-14 10:30:19.370: D/dalvikvm(27261): GC_CONCURRENT freed 0K, 20% free 26461K/32903K, paused 2ms+3ms
03-14 10:30:19.400: D/dalvikvm(27261): GC_FOR_ALLOC freed 8435K, 46% free 18026K/32903K, paused 30ms
03-14 10:30:19.420: I/dalvikvm-heap(27261): Grow heap (frag case) to 33.711MB for 16777232-byte allocation
03-14 10:30:19.450: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 31% free 34410K/49351K, paused 30ms
03-14 10:30:19.480: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 31% free 34410K/49351K, paused 30ms
03-14 10:30:19.490: I/dalvikvm-heap(27261): Grow heap (frag case) to 37.711MB for 4194320-byte allocation
03-14 10:30:19.530: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 22% free 38506K/49351K, paused 31ms
03-14 10:30:19.650: D/dalvikvm(27261): GC_CONCURRENT freed 0K, 22% free 38506K/49351K, paused 2ms+4ms
03-14 10:30:19.650: I/jPCT-AE(27261): New texture's id is: 2
03-14 10:30:19.770: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 20% free 39530K/49351K, paused 31ms
03-14 10:30:19.770: I/dalvikvm-heap(27261): Grow heap (frag case) to 42.711MB for 4194320-byte allocation
03-14 10:30:19.810: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 12% free 43626K/49351K, paused 31ms
03-14 10:30:19.850: I/jPCT-AE(27261): Mipmaps generated by the CPU in 202ms
03-14 10:30:19.860: I/jPCT-AE(27261): New texture uploaded: com.threed.jpct.Texture@40af6ec8 in thread Thread[GLThread 23,5,main]
03-14 10:30:19.860: I/jPCT-AE(27261): Creating buffers...
03-14 10:30:19.860: I/jPCT-AE(27261): VBO created for object 'object4'
03-14 10:30:19.870: D/dalvikvm(27261): GC_CONCURRENT freed 1710K, 12% free 43627K/49351K, paused 2ms+4ms
03-14 10:30:19.900: D/dalvikvm(27261): GC_FOR_ALLOC freed 29696K, 72% free 13930K/49351K, paused 31ms
03-14 10:30:19.900: I/dalvikvm-heap(27261): Grow heap (frag case) to 16.828MB for 3267526-byte allocation
03-14 10:30:19.940: D/dalvikvm(27261): GC_FOR_ALLOC freed 0K, 66% free 17121K/49351K, paused 29ms
03-14 10:30:19.980: D/dalvikvm(27261): GC_CONCURRENT freed <1K, 66% free 17122K/49351K, paused 2ms+4ms
03-14 10:30:20.150: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 66% free 17122K/49351K, paused 30ms
03-14 10:30:20.150: I/dalvikvm-heap(27261): Grow heap (frag case) to 23.062MB for 6536076-byte allocation
03-14 10:30:20.200: D/dalvikvm(27261): GC_CONCURRENT freed 0K, 53% free 23505K/49351K, paused 3ms+4ms
03-14 10:30:20.200: I/jPCT-AE(27261): Uncompressed 1633755 bytes to 4194304 bytes in 344ms!
03-14 10:30:20.230: D/dalvikvm(27261): GC_FOR_ALLOC freed 3191K, 59% free 20314K/49351K, paused 30ms
03-14 10:30:20.230: I/dalvikvm-heap(27261): Grow heap (frag case) to 23.946MB for 4194320-byte allocation
03-14 10:30:20.280: D/dalvikvm(27261): GC_CONCURRENT freed 0K, 51% free 24410K/49351K, paused 3ms+3ms
03-14 10:30:20.310: D/dalvikvm(27261): GC_FOR_ALLOC freed <1K, 51% free 24410K/49351K, paused 29ms
03-14 10:30:20.310: I/dalvikvm-heap(27261): Grow heap (frag case) to 27.946MB for 4194320-byte allocation
03-14 10:30:20.430: D/dalvikvm(27261): GC_CONCURRENT freed 0K, 43% free 28506K/49351K, paused 2ms+4ms
03-14 10:30:20.460: D/dalvikvm(27261): GC_FOR_ALLOC freed 10479K, 64% free 18026K/49351K, paused 30ms
03-14 10:30:20.460: I/dalvikvm-heap(27261): Forcing collection of SoftReferences for 16777232-byte allocation
03-14 10:30:20.500: D/dalvikvm(27261): GC_BEFORE_OOM freed 0K, 64% free 18026K/49351K, paused 36ms
03-14 10:30:20.500: E/dalvikvm-heap(27261): Out of memory on a 16777232-byte allocation.
03-14 10:30:20.500: I/dalvikvm(27261): "GLThread 23" prio=5 tid=17 RUNNABLE
03-14 10:30:20.500: I/dalvikvm(27261):   | group="main" sCount=0 dsCount=0 obj=0x40d0c0d0 self=0x1f5188
03-14 10:30:20.500: I/dalvikvm(27261):   | sysTid=27321 nice=0 sched=0/0 cgrp=default handle=996312
03-14 10:30:20.500: I/dalvikvm(27261):   | schedstat=( 4951131000 336693000 3072 ) utm=480 stm=15 core=1
03-14 10:30:20.500: I/dalvikvm(27261):   at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
03-14 10:30:20.500: I/dalvikvm(27261):   at java.nio.MemoryBlock.allocate(MemoryBlock.java:92)
03-14 10:30:20.500: I/dalvikvm(27261):   at java.nio.ReadWriteDirectByteBuffer.<init>(ReadWriteDirectByteBuffer.java:46)
03-14 10:30:20.500: I/dalvikvm(27261):   at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:67)
03-14 10:30:20.500: I/dalvikvm(27261):   at com.threed.jpct.GLRenderer.convertTexture(GLRenderer.java:795)
03-14 10:30:20.500: I/dalvikvm(27261):   at com.threed.jpct.GLRenderer.setTextures(GLRenderer.java:2258)
03-14 10:30:20.500: I/dalvikvm(27261):   at com.threed.jpct.GLRenderer.drawVertexArray(GLRenderer.java:2183)
03-14 10:30:20.500: I/dalvikvm(27261):   at com.threed.jpct.World.draw(World.java:1309)
03-14 10:30:20.500: I/dalvikvm(27261):   at com.threed.jpct.World.draw(World.java:1076)
03-14 10:30:20.500: I/dalvikvm(27261):   at com.synapse.android.cricscore.wagonwheel.World3DBase.renderGame(World3DBase.java:393)
03-14 10:30:20.500: I/dalvikvm(27261):   at com.synapse.android.cricscore.wagonwheel.World3DBase.onDrawFrame(World3DBase.java:465)
03-14 10:30:20.500: I/dalvikvm(27261):   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1431)
03-14 10:30:20.500: I/dalvikvm(27261):   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1180)
03-14 10:30:20.510: W/dalvikvm(27261): threadid=17: thread exiting with uncaught exception (group=0x401de760)
03-14 10:30:20.510: E/AndroidRuntime(27261): FATAL EXCEPTION: GLThread 23
03-14 10:30:20.510: E/AndroidRuntime(27261): java.lang.OutOfMemoryError
03-14 10:30:20.510: E/AndroidRuntime(27261):    at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at java.nio.MemoryBlock.allocate(MemoryBlock.java:92)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at java.nio.ReadWriteDirectByteBuffer.<init>(ReadWriteDirectByteBuffer.java:46)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:67)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at com.threed.jpct.GLRenderer.convertTexture(GLRenderer.java:795)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at com.threed.jpct.GLRenderer.setTextures(GLRenderer.java:2258)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at com.threed.jpct.GLRenderer.drawVertexArray(GLRenderer.java:2183)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at com.threed.jpct.World.draw(World.java:1309)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at com.threed.jpct.World.draw(World.java:1076)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at com.synapse.android.cricscore.wagonwheel.World3DBase.renderGame(World3DBase.java:393)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at com.synapse.android.cricscore.wagonwheel.World3DBase.onDrawFrame(World3DBase.java:465)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1431)
03-14 10:30:20.510: E/AndroidRuntime(27261):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1180)
03-14 10:30:20.570: D/WebViewActivity(27261): ### onStop is being called
03-14 10:30:22.530: I/dalvikvm(27261): threadid=4: reacting to signal 3
03-14 10:30:22.540: I/dalvikvm(27261): Wrote stack traces to '/data/anr/traces.txt'

--- End quote ---

EgonOlsen:
...but it looks like as if something isn't 1024*1024...or otherwise, this line doesn't make any sense:

Out of memory on a 16777232-byte allocation.

That's exactly the amount of memory a 2048*2048 texture would need and that's where it fails. Are you sure that you are not using such textures?

zammbi:

--- Quote ---That's exactly the amount of memory a 2048*2048 texture would need and that's where it fails. Are you sure that you are not using such textures?

--- End quote ---
I'm only using 1024x1024. No higher resolution than that (and tripled checked).


For now I've lowered one of my images to 512x512 but it looks crappy on the tablet. I hope you can solve the issue. If you need anything else to test just give me a yell.

Navigation

[0] Message Index

[#] Next page

Go to full version