Browse files

Small update to checkStaticDataSize.sh script

  • Loading branch information...
1 parent 870193c commit 5545d3d1311e443c2515e322e763dfd935f96e56 @pelya committed Mar 25, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 checkStaticDataSize.sh
  2. +1 −1 project/jni/application/src
View
2 checkStaticDataSize.sh
@@ -1,4 +1,4 @@
#!/bin/sh
# Output static/global symbols in a application lib to check if someone allocated 200 Mb static temp array.
# Used to resolve linker errors such as: Cannot load library: alloc_mem_region[815]: OOPS: 54 cannot map library 'libapplication.so'. no vspace available.
-objdump -x project/obj/local/armeabi/libapplication.so | grep ' ' | sed 's/.* /0x/' | sort -n
+objdump -x project/obj/local/armeabi/libapplication.so | grep ' ' | sed 's/.* /0x/' | sort -n | xargs -n 2 printf '%d %s\n'
View
2 project/jni/application/src

0 comments on commit 5545d3d

Please sign in to comment.