ui: maximum allocated jvm memory configurable in preferences

* added setting for maximum memory allocated by JVM to Preferences window.
* a value of -1 ignores this setting
* changed default value for this setting to -1
* increased JNI version to Java 1.8

* disabled some file system tests for windows
This commit is contained in:
malte_langkabel
2016-09-29 10:05:03 +02:00
parent 52fb2ae6f6
commit e5cd905670
5 changed files with 39 additions and 7 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ void ApplicationSettings::setJavaPath(const std::string path)
int ApplicationSettings::getJavaMaximumMemory() const
{
return getValue<int>("indexing/java/java_maximum_memory", 512);
return getValue<int>("indexing/java/java_maximum_memory", -1);
}
void ApplicationSettings::setJavaMaximumMemory(int size)