Hey, I have a weird one. I have a project that is ...
# build-tools
h
Hey, I have a weird one. I have a project that is currently building fine on a colleagues windows pc, it also builds fine on our TeamCity agent. However, on my pc Windows 1809, I get the following exception (will post below). I've tried
mvn package
on wsl (ubuntu 1804) using the default jdk (10) as well as openjdk11 both give the same error. Same error when I try and run from intellij (right click green arrow -> run ). Any ideas 😕
h
According to the docs, on windows, the default stack size depends on virtual memory: https://docs.oracle.com/en/java/javase/11/tools/java.html#GUID-3B1CE181-CD30-4178-9602-230B800D4FAE So you probably have less virtual memory than your colleague. You'll need to pass
-Xss4m
(or some larger value) to the JVM running your build.