assets/src/org/ruboto/JRubyAdapter.java in ruboto-1.2.0 vs assets/src/org/ruboto/JRubyAdapter.java in ruboto-1.3.0
- old
+ new
@@ -124,9 +124,10 @@
}
@SuppressWarnings({ "unchecked", "rawtypes" })
public static synchronized boolean setUpJRuby(Context appContext, PrintStream out) {
if (!initialized) {
+ Log.d("Max memory: " + (Runtime.getRuntime().maxMemory() / (1024 * 1024)) + "MB");
// BEGIN Ruboto HeapAlloc
// @SuppressWarnings("unused")
// byte[] arrayForHeapAllocation = new byte[13 * 1024 * 1024];
// arrayForHeapAllocation = null;
// END Ruboto HeapAlloc