All Questions
7 questions
2
votes
1
answer
636
views
Kotlin `object` initialization order leads to unexpected null instance
Consider the following code:
sealed class DataType<T : Any> {
abstract fun inputToType(input: String): T
abstract fun typeToSql(value: T): String
companion object {
val all =...
2
votes
1
answer
555
views
Configure initial heap size for java 8 VM
I try to set initial application memory heap size to 2gb for java 8 VM. I add -Xms2g -Xmx2g in Program Arguments section of IntelliJ.
Then I start my application and see that the heap size is less ...
1
vote
0
answers
292
views
JVM settings: can't increase heap size over 2GB [duplicate]
i need to increase the JVM over 2GB. This is my java version:
[arturo@X550LD bin]$ java -version
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit ...
0
votes
2
answers
1k
views
Change VM options generte a error
I changed vm options and add Xxs16m , now when i try open idea.sh i have this error in console.
Unrecognized option: -Xxs16m
Error: Could not create the Java Virtual Machine.
Error: A fatal exception ...
6
votes
1
answer
4k
views
Reduce Unused Heap size in JVM
This has been asked similarly here and here but neither changes to the JVM parameters has lead me to the same solution. I simply want to reduce my JVM's unused heap size, so that it more closely ...
1
vote
3
answers
1k
views
JDK 1.8 not working with IntelliJ IDEA 15.0.2 "Error: Abnormal build process termination"
I know I am probably the nth person asking this question, but I have been trying to hunt down a solution for this by looking at other answers for the past couple of days but I am still stuck.
...
4
votes
2
answers
2k
views
IntelliJ increase Scalatest Heap space
I'm using IntelliJ to run Scalatest tests. Problem I'm having is the tests are running out of Heap space (likely because my tests are using Selenium and starting up jettys to hit my Api).
I know how ...