Editing IO package
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 344: | Line 344: | ||
# Check Java memory settings. Try javamem | # Check Java memory settings. Try javamem | ||
## If it works, check if it reports sufficiently large max memory (had better be 200 MiB, the bigger the better) | ## If it works, check if it reports sufficiently large max memory (had better be 200 MiB, the bigger the better) | ||
## If it doesn't work, do | ## If it doesn't work, do:<br><code> | ||
##:rt = java_invoke ('java.lang.Runtime', 'getRuntime') | ##:rt = java_invoke ('java.lang.Runtime', 'getRuntime') | ||
##:rt.gc | ##:rt.gc | ||
##:rt.maxMemory ().doubleValue () / 1024 / 1024 # show MaxMemory in MiB.</ | ##:rt.maxMemory ().doubleValue () / 1024 / 1024 # show MaxMemory in MiB.</code> | ||
## In case you have insufficient memory, see in [[#Gotchas]], [[#Java memory pool allocation size]], how to increase java's memory pre-reservation. | ## In case you have insufficient memory, see in [[#Gotchas]], [[#Java memory pool allocation size]], how to increase java's memory pre-reservation. | ||
# Check if all classes (.jarfiles) are in class path. Do a 'jcp = javaclasspath (-all)' (under unix/linux, do 'jcp = javaclasspath; strsplit (jcp,”:”)' (w/o quotes). See above under [[#Required support software]] what classes should be mentioned. | # Check if all classes (.jarfiles) are in class path. Do a 'jcp = javaclasspath (-all)' (under unix/linux, do 'jcp = javaclasspath; strsplit (jcp,”:”)' (w/o quotes). See above under [[#Required support software]] what classes should be mentioned. |