[Jamvm-general] Revisited: "LocaleInformation not found": solution is -Xmx
Brought to you by:
rlougher
From: Dana M. <k6...@co...> - 2015-08-27 03:27:26
|
I recently was running JamVM 2.0 + classpath 0.99 under OpenWRT latest on a Raspberry Pi 2 B. I kept running into the problem described in this thread: https://sourceforge.net/p/jamvm/mailman/message/1870684/ I eventually had a crazy idea and expanded the maximum heap size with -Xmx128M and the problem went away. At some point I'll binary-search for what the required heap size really is; but the issue was while loading glibj.zip, many strings are allocated for the entire jar/zipfile before even looking one entry up. I suggest trying this if you run into this issue. BTW, I am happy to report that JamVM and Classpath work well in OpenWRT 15.x and later; I maintain the package makefiles for them. Cheers, Dana K6JQ |