Revision: 4927 http://sourceforge.net/p/jump-pilot/code/4927 Author: michaudm Date: 2016-06-01 21:42:08 +0000 (Wed, 01 Jun 2016) Log Message: ----------- Remove the 1.124 factor to compute -xmx as the memory used by the os/jvm may vary from one version to another and using that much memory may crash the jvm.
Modified Paths: -------------- core/trunk/ChangeLog core/trunk/scripts/oj_windows.bat Modified: core/trunk/ChangeLog =================================================================== --- core/trunk/ChangeLog 2016-05-29 14:30:13 UTC (rev 4926) +++ core/trunk/ChangeLog 2016-06-01 21:42:08 UTC (rev 4927) @@ -3,11 +3,15 @@ # 2. make sure that lines break at 80 chars for constricted display situations #<-------------------------------- 80 chars ----------------------------------># +2016-06-01 mmichaud <m.michael.mich...@orange.fr> + * Remove the 1.124 factor to compute -Xmx as the memory used by the os/jvm may + vary from one version to another and using that much memory may crash the jvm. + 2016-05-29 ede * add a new PlugInClassLoader to keep all classes in one to circumvent issues resulting in non working instanceof's or missing classes -2016-05-24 +2016-05-24 mmichaud <m.michael.mich...@orange.fr> * Postgis writer : deprecate vacuum analyze as it may takes too much time, must be driven by the server, not the client Modified: core/trunk/scripts/oj_windows.bat =================================================================== --- core/trunk/scripts/oj_windows.bat 2016-05-29 14:30:13 UTC (rev 4926) +++ core/trunk/scripts/oj_windows.bat 2016-06-01 21:42:08 UTC (rev 4927) @@ -276,8 +276,7 @@ for /f "delims=" %%l in ('wmic os get FreePhysicalMemory^,TotalVisibleMemorySize /format:list') do >nul 2>&1 set "OS_%%l" if NOT DEFINED OS_TotalVisibleMemorySize goto mem_failed -rem --- use 100% of ram as default limit (1.124 is a factor to make java64 really use that much) --- -set /a "JAVA_XMX=%OS_TotalVisibleMemorySize%/1000*1124" +set /a "JAVA_XMX=%OS_TotalVisibleMemorySize%" set /a "JAVA_RAM_QUARTER=%OS_TotalVisibleMemorySize%/4" rem --- a. cap to 1GB for 32bit jre --- rem --- b. use xmx value if it fits into free space --- ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel