I've experience the same behavior in both my IDE (Intellij 15) and the terminal. (mvn clean compile ).
I'm on a mac OS X: javac -version javac 1.8.0_65 mvn -version Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T09:29:23-08:00) Maven home: /usr/local/Cellar/maven32/3.2.5/libexec Java version: 1.8.0_65, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.11.1", arch: "x86_64", family: "mac" I've also asked a coworker to try it out just to make sure it wasn't just my environment and was able to reproduce it. (At least on the larger project). I've also tried this on my own personal machine (Linux x86_64 / Ubuntu) On 3.5.1: mvn clean compile 17.12s user 0.76s system 209% cpu 8.523 total On 3.7.1: mvn clean compile 139.56s user 1.81s system 116% cpu 2:00.97 total (around 2 minutes) mvn -version Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Apache Maven 3.3.3 Maven home: /usr/share/maven Java version: 1.8.0_66, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.2.0-16-generic", arch: "amd64", family: "unix" javac -version javac 1.8.0_66 I was mostly looking for some insight on how to approach debugging this. I'm guessing it's some odd combination between what we're doing internally and Jooq though it is a very peculiar bug. On Sun, Dec 6, 2015 at 11:42 PM, Lukas Eder <[email protected]> wrote: > Hi Samir, > > That is indeed very weird, and the first time I hear this kind of issue. > 1:30 minutes is certainly far from an acceptable compilation time, even for > larger projects. How do you build your project (Maven version, IDE version, > Java version, pom.xml config)? And what part of building takes so long > (e.g. is code generation involved)? Does this happen both when building on > the command line (mvn clean install) *and* in your IDE? > > Best, > Lukas > > 2015-12-06 20:59 GMT+01:00 Samir Faci <[email protected]>: > >> I'm experiencing a very odd behavior when trying to upgrade the jooq >> version in a small project, and I was wondering if anyone could provide any >> insight. >> >> I am currently using Jooq verion 3.5.1 without any problems and I tried >> to update to the latest 3.7.1 (seemed worthwhile lots of great features >> listed). >> >> When I bump up the version maven fails to return on the compilation >> step. It takes an abnormally long time to complete. >> >> >> For example: >> My project has 66 java files, there aren't really any class files that >> are 10K lines of code or anything out there. >> >> - with 3.7.1, Total time: 01:31 min >> - with 3.5.1 Total time: 2.144 s >> >> This behavior has started with Jooq 3.6.0, I can bump up the version all >> the way up to 3.5.4 and the project is still responsive, but when I go to >> 3.6 it completely unreasonable. >> >> I'm trying to pull jooq into a 'core' component that will be consumed by >> a larger project. So if the core just went from 3 seconds to 1.5 minutes I >> can't imagine being able to make this upgrade as it stands. >> >> Does anyone have any insights on what could be causing this, or any >> assistance in helping me debug this. As I said the only change I'm making >> is the version number on jooq, so I have a feeling something >> between what my project is using (lib wise), JVM version and Jooq itself >> is causing this, but I'd love some ideas on how to resolve this. >> >> >> >> -- >> Thank you >> Samir Faci >> >> -- >> You received this message because you are subscribed to the Google Groups >> "jOOQ User Group" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "jOOQ User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Thank you Samir Faci -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
