<commit_before>package org.jetbrains.plugins.scala.compiler;

import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.components.*;
import com.intellij.util.xmlb.XmlSerializerUtil;

import java.util.UUID;

/**
 * @author <NAME>
 */
@State(
        name = "ScalaSettings",
        storages = {@Storage("scala.xml")},
        reportStatistic = true
)
public class ScalaCompileServerSettings implements PersistentStateComponent<ScalaCompileServerSettings> {
  public boolean SHOW_TYPE_TOOLTIP_ON_MOUSE_HOVER = false;
  @ReportValue
  public int SHOW_TYPE_TOOLTIP_DELAY = 500;

  public boolean COMPILE_SERVER_ENABLED = true;

  //is not accessible from UI, but is serialized and used in jps-plugin
  public int COMPILE_SERVER_PORT = 3200;
  public String COMPILE_SERVER_ID = UUID.randomUUID().toString();

  public boolean USE_DEFAULT_SDK = true;
  public String COMPILE_SERVER_SDK;

  public String COMPILE_SERVER_MAXIMUM_HEAP_SIZE = "2048";
  public String COMPILE_SERVER_JVM_PARAMETERS = "-server -Xss1m -XX:+UseParallelGC -XX:MaxInlineLevel=20";
  public int COMPILE_SERVER_PARALLELISM = 4;
  public boolean COMPILE_SERVER_PARALLEL_COMPILATION = true;
<commit_msg>Increased default value of the -Xss for the Scala Compile Server #SCL-18766<commit_after>package org.jetbrains.plugins.scala.compiler;

import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.components.*;
import com.intellij.util.xmlb.XmlSerializerUtil;

import java.util.UUID;

/**
 * @author <NAME>
 */
@State(
        name = "ScalaSettings",
        storages = {@Storage("scala.xml")},
        reportStatistic = true
)
public class ScalaCompileServerSettings implements PersistentStateComponent<ScalaCompileServerSettings> {
  public boolean SHOW_TYPE_TOOLTIP_ON_MOUSE_HOVER = false;
  @ReportValue
  public int SHOW_TYPE_TOOLTIP_DELAY = 500;

  public boolean COMPILE_SERVER_ENABLED = true;

  //is not accessible from UI, but is serialized and used in jps-plugin
  public int COMPILE_SERVER_PORT = 3200;
  public String COMPILE_SERVER_ID = UUID.randomUUID().toString();

  public boolean USE_DEFAULT_SDK = true;
  public String COMPILE_SERVER_SDK;

  public String COMPILE_SERVER_MAXIMUM_HEAP_SIZE = "2048";
  public String COMPILE_SERVER_JVM_PARAMETERS = "-server -Xss2m -XX:+UseParallelGC -XX:MaxInlineLevel=20";
  public int COMPILE_SERVER_PARALLELISM = 4;
  public boolean COMPILE_SERVER_PARALLEL_COMPILATION = true;

{'fraction_non_alphanumeric': 0.08346905537459283, 'fraction_numerical': 0.014250814332247556, 'mean_word_length': 5.2360406091370555, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1699297', 'n_tokens_mistral': 826, 'n_tokens_neox': 807, 'n_words': 177}