Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rasec_jc

#1
Support / Re: Problem: unload textures
April 08, 2011, 06:17:17 AM
I got to solve the problem \o/ I remove the onDestroy method..
Thanks for you help =)
#2
Support / Re: Problem: unload textures
April 07, 2011, 08:21:14 PM
If you want i can send the source code of the application, but if i have one example of how loading 3ds model and texture i can know what i do wrong. My application in this time only make this... the problem is when i load the textures...
#3
Support / Re: Problem: unload textures
April 07, 2011, 12:42:15 PM
Exists any place where i can download any exemplo of how loading 3DS models with textures??
I would like see what I do wrong...
#4
Support / Re: Problem: unload textures
April 07, 2011, 05:52:02 AM
The same problem =(
The application only work correctly when I running this from eclipse...
#5
Support / Re: Problem: unload textures
April 06, 2011, 07:46:26 PM
Without any chance of make this manually =/
I only call the freeMemory of the frame buffer and flush of the texture manager in onDestroy method....
#6
Support / Re: Problem: unload textures
April 06, 2011, 06:38:27 PM
I'm using 1.22 version. I think that this problem too... but i don't have idea about how this happening....
#7
Support / Re: Problem: unload textures
April 06, 2011, 03:51:37 AM
Thanks for any help!
#8
Support / Re: Problem: unload textures
April 06, 2011, 03:48:42 AM
Some details...

when this working corretly:

04-06 01:25:01.279: DEBUG/AndroidRuntime(329): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
04-06 01:25:01.299: DEBUG/AndroidRuntime(329): CheckJNI is ON
04-06 01:25:02.501: DEBUG/AndroidRuntime(329): --- registering native functions ---
04-06 01:25:11.028: DEBUG/PackageParser(58): Scanning package: /data/app/vmdl53444.tmp
04-06 01:25:15.081: INFO/PackageManager(58): Removing non-system package:br.com.loadAndroid
04-06 01:25:15.100: DEBUG/PackageManager(58): Removing package br.com.loadAndroid
04-06 01:25:15.129: DEBUG/PackageManager(58):   Activities: br.com.loadAndroid.loadAndroid
04-06 01:25:15.499: DEBUG/PackageManager(58): Scanning package br.com.loadAndroid
04-06 01:25:15.538: INFO/PackageManager(58): /data/app/vmdl53444.tmp changed; unpacking
04-06 01:25:15.608: DEBUG/installd(31): DexInv: --- BEGIN '/data/app/vmdl53444.tmp' ---
04-06 01:25:22.229: DEBUG/dalvikvm(335): DexOpt: load 261ms, verify 4979ms, opt 135ms
04-06 01:25:22.369: DEBUG/installd(31): DexInv: --- END '/data/app/vmdl53444.tmp' (success) ---
04-06 01:25:22.399: DEBUG/ActivityManager(58): Uninstalling process br.com.loadAndroid
04-06 01:25:22.439: DEBUG/PackageManager(58):   Activities: br.com.loadAndroid.loadAndroid
04-06 01:25:22.479: DEBUG/ActivityManager(58): Force removing process ProcessRecord{44e427a8 283:br.com.loadAndroid/10031} (br.com.loadAndroid/10031)
04-06 01:25:22.529: INFO/Process(58): Sending signal. PID: 283 SIG: 9
04-06 01:25:22.708: DEBUG/ActivityManager(58): Received spurious death notification for thread android.os.BinderProxy@44e16850
04-06 01:25:23.088: INFO/installd(31): move /data/dalvik-cache/data@app@vmdl53444.tmp@classes.dex -> /data/dalvik-cache/data@app@br.com.loadAndroid.apk@classes.dex
04-06 01:25:23.139: DEBUG/PackageManager(58): New package installed in /data/app/br.com.loadAndroid.apk
04-06 01:25:23.638: DEBUG/AndroidRuntime(329): Shutting down VM
04-06 01:25:23.651: DEBUG/dalvikvm(329): DestroyJavaVM waiting for non-daemon threads to exit
04-06 01:25:23.658: DEBUG/dalvikvm(329): DestroyJavaVM shutting VM down
04-06 01:25:23.670: ERROR/AndroidRuntime(329): ERROR: thread attach failed
04-06 01:25:23.688: DEBUG/dalvikvm(329): HeapWorker thread shutting down
04-06 01:25:23.698: DEBUG/dalvikvm(329): HeapWorker thread has shut down
04-06 01:25:23.708: DEBUG/jdwp(329): JDWP shutting down net...
04-06 01:25:23.708: INFO/dalvikvm(329): Debugger has detached; object registry had 1 entries
04-06 01:25:23.728: DEBUG/dalvikvm(329): VM cleaning up
04-06 01:25:23.800: DEBUG/ActivityManager(58): Uninstalling process br.com.loadAndroid
04-06 01:25:24.038: DEBUG/dalvikvm(329): LinearAlloc 0x0 used 622844 of 5242880 (11%)
04-06 01:25:24.768: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f0700e5
04-06 01:25:24.808: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f020031
04-06 01:25:24.818: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f020030
04-06 01:25:24.838: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f050000
04-06 01:25:25.018: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f060000
04-06 01:25:25.179: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f060001
04-06 01:25:26.068: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f0700e5
04-06 01:25:26.098: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f020031
04-06 01:25:26.109: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f020030
04-06 01:25:26.119: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f050000
04-06 01:25:26.182: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f060000
04-06 01:25:26.220: WARN/ResourceType(58): Resources don't contain package for resource number 0x7f060001
04-06 01:25:26.648: DEBUG/dalvikvm(106): GC freed 43 objects / 1720 bytes in 1699ms
04-06 01:25:28.269: DEBUG/dalvikvm(58): GC freed 23194 objects / 1356640 bytes in 1037ms
04-06 01:25:30.129: DEBUG/dalvikvm(58): GC freed 754 objects / 47000 bytes in 1198ms
04-06 01:25:30.748: DEBUG/AndroidRuntime(340): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
04-06 01:25:30.810: DEBUG/AndroidRuntime(340): CheckJNI is ON
04-06 01:25:34.698: DEBUG/AndroidRuntime(340): --- registering native functions ---
04-06 01:25:41.588: INFO/ActivityManager(58): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=br.com.loadAndroid/.loadAndroid }
04-06 01:25:41.798: DEBUG/AndroidRuntime(340): Shutting down VM
04-06 01:25:41.828: DEBUG/dalvikvm(340): DestroyJavaVM waiting for non-daemon threads to exit
04-06 01:25:41.858: DEBUG/dalvikvm(340): DestroyJavaVM shutting VM down
04-06 01:25:41.858: DEBUG/dalvikvm(340): HeapWorker thread shutting down
04-06 01:25:41.898: DEBUG/dalvikvm(340): HeapWorker thread has shut down
04-06 01:25:41.898: DEBUG/jdwp(340): JDWP shutting down net...
04-06 01:25:41.908: INFO/dalvikvm(340): Debugger has detached; object registry had 1 entries
04-06 01:25:41.928: ERROR/AndroidRuntime(340): ERROR: thread attach failed
04-06 01:25:41.948: DEBUG/dalvikvm(340): VM cleaning up
04-06 01:25:42.628: DEBUG/dalvikvm(340): LinearAlloc 0x0 used 638428 of 5242880 (12%)
04-06 01:25:42.798: INFO/ActivityManager(58): Start proc br.com.loadAndroid for activity br.com.loadAndroid/.loadAndroid: pid=347 uid=10031 gids={}
04-06 01:25:43.838: DEBUG/ddm-heap(347): Got feature list request
04-06 01:25:45.322: INFO/jPCT-AE(347): onCreate
04-06 01:25:45.608: INFO/jPCT-AE(347): Loading Texture...
04-06 01:25:46.048: DEBUG/dalvikvm(347): GC freed 685 objects / 55656 bytes in 370ms
04-06 01:25:47.409: DEBUG/dalvikvm(347): GC freed 42 objects / 1584 bytes in 284ms
04-06 01:25:47.488: INFO/dalvikvm-heap(347): Grow heap (frag case) to 5.821MB for 1048592-byte allocation
04-06 01:25:47.741: DEBUG/dalvikvm(347): GC freed 120 objects / 5632 bytes in 250ms
04-06 01:25:48.069: INFO/jPCT-AE(347): Loading file from InputStream
04-06 01:25:48.098: INFO/jPCT-AE(347): File from InputStream loaded...3501 bytes
04-06 01:25:48.109: INFO/jPCT-AE(347): Processing new material Material.006!
04-06 01:25:48.122: DEBUG/dalvikvm(220): GC freed 525 objects / 45912 bytes in 14 sec
04-06 01:25:48.129: INFO/jPCT-AE(347): Texture named tronco.png added to TextureManager!
04-06 01:25:48.149: INFO/jPCT-AE(347): Processing object from 3DS-file: Cylinder
04-06 01:25:48.299: INFO/jPCT-AE(347): Object 'Cylinder_jPCT-2' created using 128 polygons and 66 vertices.
04-06 01:25:48.498: INFO/jPCT-AE(347): Loading Texture...
04-06 01:25:49.798: DEBUG/dalvikvm(347): GC freed 1758 objects / 86248 bytes in 260ms
04-06 01:25:49.868: INFO/dalvikvm-heap(347): Grow heap (frag case) to 6.931MB for 1048592-byte allocation
04-06 01:25:50.162: DEBUG/dalvikvm(347): GC freed 2 objects / 64 bytes in 277ms
04-06 01:25:50.299: INFO/jPCT-AE(347): Loading file from InputStream
04-06 01:25:50.319: INFO/jPCT-AE(347): File from InputStream loaded...4914 bytes
04-06 01:25:50.339: INFO/jPCT-AE(347): Processing new material Material.011!
04-06 01:25:50.352: INFO/jPCT-AE(347): Processing new material Material.012!
04-06 01:25:50.359: INFO/jPCT-AE(347): Texture named pernas.png added to TextureManager!
04-06 01:25:50.371: INFO/jPCT-AE(347): Processing object from 3DS-file: Sphere.007
04-06 01:25:50.528: INFO/jPCT-AE(347): Object 'Sphere.007_jPCT1' created using 192 polygons and 100 vertices.
04-06 01:25:50.778: INFO/jPCT-AE(347): Loading Texture...
04-06 01:25:51.758: WARN/ActivityManager(58): Launch timeout has expired, giving up wake lock!
04-06 01:25:52.109: INFO/jPCT-AE(347): Loading file from InputStream
04-06 01:25:52.129: INFO/jPCT-AE(347): File from InputStream loaded...2505 bytes
04-06 01:25:52.148: INFO/jPCT-AE(347): Processing new material Material.010!
04-06 01:25:52.158: INFO/jPCT-AE(347): Texture named braco_dir.pn added to TextureManager!
04-06 01:25:52.171: INFO/jPCT-AE(347): Processing object from 3DS-file: Sphere.001
04-06 01:25:52.239: INFO/jPCT-AE(347): Object 'Sphere.001_jPCT4' created using 96 polygons and 50 vertices.
04-06 01:25:52.379: INFO/jPCT-AE(347): Loading Texture...
04-06 01:25:53.758: DEBUG/dalvikvm(347): GC freed 4108 objects / 209152 bytes in 331ms
04-06 01:25:53.948: INFO/jPCT-AE(347): Loading file from InputStream
04-06 01:25:53.958: INFO/jPCT-AE(347): File from InputStream loaded...2501 bytes
04-06 01:25:53.968: INFO/jPCT-AE(347): Processing new material Material.009!
04-06 01:25:53.988: INFO/jPCT-AE(347): Texture named braco_esq.pn added to TextureManager!
04-06 01:25:53.998: INFO/jPCT-AE(347): Processing object from 3DS-file: Sphere
04-06 01:25:54.069: INFO/jPCT-AE(347): Object 'Sphere_jPCT7' created using 96 polygons and 50 vertices.
04-06 01:25:54.209: INFO/jPCT-AE(347): Loading Texture...
04-06 01:25:54.309: WARN/ActivityManager(58): Activity idle timeout for HistoryRecord{44c11848 br.com.loadAndroid/.loadAndroid}
04-06 01:25:54.579: DEBUG/dalvikvm(347): GC freed 1650 objects / 88800 bytes in 358ms
04-06 01:25:54.839: DEBUG/dalvikvm(347): GC freed 9 objects / 288 bytes in 252ms
04-06 01:25:55.109: DEBUG/dalvikvm(347): GC freed 2 objects / 48 bytes in 245ms
04-06 01:25:56.548: INFO/jPCT-AE(347): Loading file from InputStream
04-06 01:25:56.568: INFO/jPCT-AE(347): Expanding buffers...16384 bytes
04-06 01:25:56.588: INFO/jPCT-AE(347): Expanding buffers...24576 bytes
04-06 01:25:56.620: INFO/jPCT-AE(347): File from InputStream loaded...19797 bytes
04-06 01:25:56.628: INFO/jPCT-AE(347): Processing new material Material!
04-06 01:25:56.640: INFO/jPCT-AE(347): Texture named esteiras.png added to TextureManager!
04-06 01:25:56.648: INFO/jPCT-AE(347): Processing object from 3DS-file: Circle.001
04-06 01:25:57.309: INFO/jPCT-AE(347): Object 'Circle.001_jPCT10' created using 740 polygons and 376 vertices.
04-06 01:25:59.399: DEBUG/libEGL(347): egl.cfg not found, using default config
04-06 01:25:59.439: DEBUG/libEGL(347): loaded /system/lib/egl/libGLES_android.so
04-06 01:25:59.608: INFO/jPCT-AE(347): OpenGL vendor:     Android
04-06 01:25:59.618: INFO/jPCT-AE(347): OpenGL renderer:   Android PixelFlinger 1.2
04-06 01:25:59.628: INFO/jPCT-AE(347): OpenGL version:    OpenGL ES-CM 1.0
04-06 01:25:59.638: INFO/jPCT-AE(347): OpenGL renderer initialized (using 2 texture stages)
04-06 01:25:59.850: INFO/jPCT-AE(347): Adding Lightsource: 0
04-06 01:25:59.858: INFO/jPCT-AE(347): Memory usage before compacting: 8351 KB used out of 8967 KB
04-06 01:26:00.449: DEBUG/dalvikvm(347): GC freed 9314 objects / 484968 bytes in 576ms
04-06 01:26:00.858: DEBUG/dalvikvm(347): GC freed 50 objects / 4000 bytes in 380ms
04-06 01:26:01.028: INFO/jPCT-AE(347): Memory usage after compacting: 7875 KB used out of 8967 KB
04-06 01:26:01.028: INFO/jPCT-AE(347): Saving master Activity!
04-06 01:26:01.159: INFO/jPCT-AE(347): Subobject of object 0/object2 compiled to flat fixed point data using 384 vertices in 38ms!
04-06 01:26:01.169: INFO/jPCT-AE(347): Object 0/object2 compiled to 1 subobjects in 102ms!
04-06 01:26:01.299: INFO/jPCT-AE(347): Subobject of object 3/object5 compiled to flat fixed point data using 576 vertices in 40ms!
04-06 01:26:01.329: INFO/jPCT-AE(347): Object 3/object5 compiled to 1 subobjects in 134ms!
04-06 01:26:01.429: INFO/jPCT-AE(347): Subobject of object 6/object8 compiled to flat fixed point data using 288 vertices in 21ms!
04-06 01:26:01.429: INFO/jPCT-AE(347): Object 6/object8 compiled to 1 subobjects in 82ms!
04-06 01:26:01.518: INFO/jPCT-AE(347): Subobject of object 9/object11 compiled to flat fixed point data using 288 vertices in 21ms!
04-06 01:26:01.538: INFO/jPCT-AE(347): Object 9/object11 compiled to 1 subobjects in 86ms!
04-06 01:26:01.858: DEBUG/dalvikvm(347): GC freed 1826 objects / 81464 bytes in 294ms
04-06 01:26:02.848: DEBUG/dalvikvm(106): GC freed 2393 objects / 138528 bytes in 3486ms
04-06 01:26:03.868: INFO/ARMAssembler(347): generated scanline__000000B7:03010144_00009501_00000000 [126 ipp] (207 ins) at [0x382b20:0x382e5c] in 37199801 ns
04-06 01:26:04.189: DEBUG/dalvikvm(347): GC freed 14 objects / 1049176 bytes in 279ms
04-06 01:26:06.668: DEBUG/dalvikvm(347): GC freed 12 objects / 1048960 bytes in 297ms
04-06 01:26:09.051: DEBUG/dalvikvm(347): GC freed 7 objects / 1048808 bytes in 354ms
04-06 01:26:11.262: INFO/jPCT-AE(347): 0fps
04-06 01:26:11.458: INFO/ActivityManager(58): Displayed activity br.com.loadAndroid/.loadAndroid: 29560 ms (total 29560 ms)
04-06 01:26:12.338: INFO/jPCT-AE(347): 1fps
04-06 01:26:13.468: INFO/jPCT-AE(347): 10fps
04-06 01:26:14.728: INFO/jPCT-AE(347): 8fps
04-06 01:26:15.818: INFO/jPCT-AE(347): 10fps
04-06 01:26:16.901: INFO/jPCT-AE(347): 10fps
04-06 01:26:17.948: INFO/jPCT-AE(347): 9fps
04-06 01:26:18.978: INFO/jPCT-AE(347): 8fps
04-06 01:26:20.069: INFO/jPCT-AE(347): 9fps
04-06 01:26:21.189: INFO/jPCT-AE(347): 9fps
04-06 01:26:22.199: INFO/jPCT-AE(347): 9fps
04-06 01:26:22.628: WARN/KeyCharacterMap(347): No keyboard for id 0
04-06 01:26:22.648: WARN/KeyCharacterMap(347): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
04-06 01:26:25.658: INFO/jPCT-AE(347): Static references cleared...
04-06 01:26:25.688: ERROR/libEGL(347): call to OpenGL ES API with no current context (logged once per thread)
04-06 01:26:25.708: INFO/jPCT-AE(347): All texture data unloaded from gpu!
04-06 01:26:25.708: INFO/jPCT-AE(347): Static references cleared...
04-06 01:26:25.718: INFO/bla bla blah(347): nanana



When this don't working correctly:

04-06 01:27:26.828: DEBUG/AndroidRuntime(356): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
04-06 01:27:26.848: DEBUG/AndroidRuntime(356): CheckJNI is ON
04-06 01:27:27.958: DEBUG/AndroidRuntime(356): --- registering native functions ---
04-06 01:27:32.199: DEBUG/AndroidRuntime(356): Shutting down VM
04-06 01:27:32.209: DEBUG/dalvikvm(356): DestroyJavaVM waiting for non-daemon threads to exit
04-06 01:27:32.209: DEBUG/dalvikvm(356): DestroyJavaVM shutting VM down
04-06 01:27:32.229: DEBUG/dalvikvm(356): HeapWorker thread shutting down
04-06 01:27:32.249: ERROR/AndroidRuntime(356): ERROR: thread attach failed
04-06 01:27:32.259: DEBUG/dalvikvm(356): HeapWorker thread has shut down
04-06 01:27:32.269: DEBUG/jdwp(356): JDWP shutting down net...
04-06 01:27:32.289: INFO/dalvikvm(356): Debugger has detached; object registry had 1 entries
04-06 01:27:32.342: DEBUG/dalvikvm(356): VM cleaning up
04-06 01:27:32.552: DEBUG/dalvikvm(356): LinearAlloc 0x0 used 628460 of 5242880 (11%)
04-06 01:27:34.418: DEBUG/AndroidRuntime(364): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
04-06 01:27:34.439: DEBUG/AndroidRuntime(364): CheckJNI is ON
04-06 01:27:35.588: DEBUG/AndroidRuntime(364): --- registering native functions ---
04-06 01:27:39.838: INFO/ActivityManager(58): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=br.com.loadAndroid/.loadAndroid }
04-06 01:27:40.009: DEBUG/AndroidRuntime(364): Shutting down VM
04-06 01:27:40.009: DEBUG/dalvikvm(364): DestroyJavaVM waiting for non-daemon threads to exit
04-06 01:27:40.069: DEBUG/dalvikvm(364): DestroyJavaVM shutting VM down
04-06 01:27:40.099: DEBUG/dalvikvm(364): HeapWorker thread shutting down
04-06 01:27:40.109: DEBUG/dalvikvm(364): HeapWorker thread has shut down
04-06 01:27:40.159: DEBUG/jdwp(364): JDWP shutting down net...
04-06 01:27:40.169: INFO/dalvikvm(364): Debugger has detached; object registry had 1 entries
04-06 01:27:40.179: ERROR/AndroidRuntime(364): ERROR: thread attach failed
04-06 01:27:40.269: DEBUG/dalvikvm(364): VM cleaning up
04-06 01:27:40.808: INFO/jPCT-AE(347): onCreate
04-06 01:27:40.868: INFO/jPCT-AE(347): Copying data from master Activity!
04-06 01:27:41.139: DEBUG/dalvikvm(364): LinearAlloc 0x0 used 638428 of 5242880 (12%)
04-06 01:27:42.049: INFO/jPCT-AE(347): Loading Texture...
04-06 01:27:43.808: DEBUG/dalvikvm(347): GC freed 292 objects / 6307848 bytes in 323ms
04-06 01:27:44.009: INFO/jPCT-AE(347): Loading file from InputStream
04-06 01:27:44.029: INFO/jPCT-AE(347): File from InputStream loaded...3501 bytes
04-06 01:27:44.040: INFO/jPCT-AE(347): Processing new material Material.006!
04-06 01:27:44.060: INFO/jPCT-AE(347): Texture named tronco.png added to TextureManager!
04-06 01:27:44.100: INFO/jPCT-AE(347): Processing object from 3DS-file: Cylinder
04-06 01:27:44.219: INFO/jPCT-AE(347): Object 'Cylinder_jPCT15' created using 128 polygons and 66 vertices.
04-06 01:27:44.718: DEBUG/dalvikvm(347): GC freed 1261 objects / 64912 bytes in 320ms
04-06 01:27:44.768: INFO/jPCT-AE(347): Loading Texture...
04-06 01:27:46.019: INFO/jPCT-AE(347): Loading file from InputStream
04-06 01:27:46.039: INFO/jPCT-AE(347): File from InputStream loaded...4914 bytes
04-06 01:27:46.059: INFO/jPCT-AE(347): Processing new material Material.011!
04-06 01:27:46.069: INFO/jPCT-AE(347): Processing new material Material.012!
04-06 01:27:46.099: INFO/jPCT-AE(347): Texture named pernas.png added to TextureManager!
04-06 01:27:46.119: INFO/jPCT-AE(347): Processing object from 3DS-file: Sphere.007
04-06 01:27:46.249: INFO/jPCT-AE(347): Object 'Sphere.007_jPCT18' created using 192 polygons and 100 vertices.
04-06 01:27:46.508: INFO/jPCT-AE(347): Loading Texture...
04-06 01:27:47.889: DEBUG/dalvikvm(347): GC freed 2977 objects / 141824 bytes in 338ms
04-06 01:27:48.029: INFO/jPCT-AE(347): Loading file from InputStream
04-06 01:27:48.049: INFO/jPCT-AE(347): File from InputStream loaded...2505 bytes
04-06 01:27:48.069: INFO/jPCT-AE(347): Processing new material Material.010!
04-06 01:27:48.080: INFO/jPCT-AE(347): Texture named braco_dir.pn added to TextureManager!
04-06 01:27:48.089: INFO/jPCT-AE(347): Processing object from 3DS-file: Sphere.001
04-06 01:27:48.179: INFO/jPCT-AE(347): Object 'Sphere.001_jPCT21' created using 96 polygons and 50 vertices.
04-06 01:27:48.329: INFO/jPCT-AE(347): Loading Texture...
04-06 01:27:49.631: DEBUG/dalvikvm(347): GC freed 1620 objects / 87000 bytes in 290ms
04-06 01:27:49.821: INFO/jPCT-AE(347): Loading file from InputStream
04-06 01:27:49.828: INFO/jPCT-AE(347): File from InputStream loaded...2501 bytes
04-06 01:27:49.848: INFO/jPCT-AE(347): Processing new material Material.009!
04-06 01:27:49.878: INFO/jPCT-AE(347): Texture named braco_esq.pn added to TextureManager!
04-06 01:27:49.888: INFO/jPCT-AE(347): Processing object from 3DS-file: Sphere
04-06 01:27:49.979: INFO/jPCT-AE(347): Object 'Sphere_jPCT24' created using 96 polygons and 50 vertices.
04-06 01:27:49.999: WARN/ActivityManager(58): Launch timeout has expired, giving up wake lock!
04-06 01:27:50.149: INFO/jPCT-AE(347): Loading Texture...
04-06 01:27:50.438: DEBUG/dalvikvm(347): GC freed 1642 objects / 88616 bytes in 275ms
04-06 01:27:50.768: DEBUG/dalvikvm(347): GC freed 9 objects / 280 bytes in 313ms
04-06 01:27:50.848: WARN/ActivityManager(58): Activity idle timeout for HistoryRecord{44d661e0 br.com.loadAndroid/.loadAndroid}
04-06 01:27:51.119: DEBUG/dalvikvm(347): GC freed 2 objects / 48 bytes in 330ms
04-06 01:27:52.699: INFO/jPCT-AE(347): Loading file from InputStream
04-06 01:27:52.758: INFO/jPCT-AE(347): Expanding buffers...16384 bytes
04-06 01:27:52.758: INFO/jPCT-AE(347): Expanding buffers...24576 bytes
04-06 01:27:52.778: INFO/jPCT-AE(347): File from InputStream loaded...19797 bytes
04-06 01:27:52.798: INFO/jPCT-AE(347): Processing new material Material!
04-06 01:27:52.798: INFO/jPCT-AE(347): Texture named esteiras.png added to TextureManager!
04-06 01:27:52.818: INFO/jPCT-AE(347): Processing object from 3DS-file: Circle.001
04-06 01:27:53.498: INFO/jPCT-AE(347): Object 'Circle.001_jPCT27' created using 740 polygons and 376 vertices.
04-06 01:27:55.289: INFO/jPCT-AE(347): Visibility lists disposed!
04-06 01:27:55.309: INFO/jPCT-AE(347): All texture data unloaded from gpu!
04-06 01:27:55.319: INFO/jPCT-AE(347): Renderer disposed!
04-06 01:27:55.349: INFO/jPCT-AE(347): Static references cleared...
04-06 01:27:55.368: INFO/jPCT-AE(347): OpenGL vendor:     Android
04-06 01:27:55.379: INFO/jPCT-AE(347): OpenGL renderer:   Android PixelFlinger 1.2
04-06 01:27:55.399: INFO/jPCT-AE(347): OpenGL version:    OpenGL ES-CM 1.0
04-06 01:27:55.418: INFO/jPCT-AE(347): OpenGL renderer initialized (using 2 texture stages)
04-06 01:27:55.568: INFO/jPCT-AE(347): 4fps
04-06 01:27:55.708: INFO/ActivityManager(58): Displayed activity br.com.loadAndroid/.loadAndroid: 15270 ms (total 15270 ms)
04-06 01:27:56.618: INFO/jPCT-AE(347): 1fps
04-06 01:27:57.658: INFO/jPCT-AE(347): 25fps
04-06 01:27:58.718: INFO/jPCT-AE(347): 26fps
04-06 01:27:59.778: INFO/jPCT-AE(347): 23fps
04-06 01:28:00.828: INFO/jPCT-AE(347): 18fps
04-06 01:28:01.408: WARN/KeyCharacterMap(347): No keyboard for id 0
04-06 01:28:01.429: WARN/KeyCharacterMap(347): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
04-06 01:28:04.289: INFO/jPCT-AE(347): Static references cleared...
04-06 01:28:04.309: INFO/jPCT-AE(347): All texture data unloaded from gpu!
04-06 01:28:04.320: INFO/jPCT-AE(347): Static references cleared...
04-06 01:28:04.329: INFO/bla bla blah(347): nanana
04-06 01:28:09.119: DEBUG/dalvikvm(347): GC freed 9335 objects / 5730264 bytes in 360ms




Attention for this mensage "All texture data unloaded from gpu!"
This only appear, before fps count, when error occours in the aplication.

This is my onDestroy method.

protected void onDestroy(){

world.removeAll();
TextureManager.getInstance().flush();
fb.freeMemory();
Log.i("bla bla blah", "nanana");
super.onDestroy();

}



I'm loading some models 3ds and textures.
#9
Support / Re: Problem: unload textures
April 05, 2011, 10:47:08 PM
I'm trying clenup textures in onDestroy method..When i running again the application this crash... but in the next time this running normaly...
#10
Support / Problem: unload textures
April 05, 2011, 04:37:20 AM
Hi o/
My application is loading  some mesh and textures. In the first time that this is executed, don't have any problem, but if want execute again the same application this crash... Thats occours three things differents. but aparently connected: if i don't call flush() from the Texture Manager the textures don't is desalocated of the memory, if when i execute the aplication again, in logcat apear that i'm loading one texture previous loaded. "the texture 'blablah' is twice" I guess.... If i call the flush function the problem change to 'outwith memory'... I call the free memory funcion of the FrameBuffer and this problem is aparently resolved but the new problem is 'All textures is unload from gpu' after the load  all texures ..  the application is running but without anyone textures =/.... I'm so sorry for my terrible English...