What version of IntelliJ are you using? I think I recently upgraded to 2022.2.4.
On Fri, 6 Jan 2023 at 5:57 pm, Ben Hutcheson <[email protected]> wrote: > Hi Niels, > > I had noticed this yesterday while working on another branch, after > merging develop into it, I hadn't been able to track down exactly what was > causing the problem. > > Ben > > On Fri, Jan 6, 2023 at 3:27 PM Christofer Dutz <[email protected]> > wrote: > >> Hi Niels, >> >> even if I’m happy it seems to be working for you, it’s still odd that you >> were having such issues. >> Usually, you don’t need to comment out the code generation as in 90% of >> the times it doesn’t really change anything. >> When you do the build, it just generates new versions, which are >> identical to the existing ones. >> >> And usually, you simply set a breakpoint and then run the test directly >> from IntelliJ (If you want to debug tests executed from Maven during the >> build, that requires some extra effort) >> >> Chris >> >> From: Niels Basjes <[email protected]> >> Date: Friday, 6. January 2023 at 14:57 >> To: [email protected] <[email protected]> >> Subject: Re: Intellij IDEA debugger OOM at starting a debug session ? >> I have just >> 1) Done a full local install into my local maven repo (~/.m2) >> 2) Commented out the entire code-generation module >> 3) Now it all works very well. >> >> Niels >> >> On Fri, Jan 6, 2023 at 2:30 PM Niels Basjes <[email protected]> wrote: >> >> > Hi, >> > >> > I wanted to debug something in plc4j/modbus and simply opened the >> project >> > in IntelliJ as a maven project. >> > I build the whole thing and then try to run one of the tests in the >> > debugger. >> > >> > The problem I have is that before it starts the debugger IntelliJ does a >> > build step and that starts using more and more memory and then simply >> fails. >> > >> > Module 'plc4x-code-generation-protocol-base-mspec' tests: >> > java.lang.OutOfMemoryError: Java heap space >> > >> > I have already assigned a lot more memory to IntelliJ (8GiB right now) >> and >> > my laptop has 32GiB physical RAM. >> > I have not yet seen this issue before with the (many) other projects I >> > have done similar things with. >> > >> > Is this a known issue to any of you? With possibly a known fix? >> > >> > -- >> > Best regards / Met vriendelijke groeten, >> > >> > Niels Basjes >> > >> >> >> -- >> Best regards / Met vriendelijke groeten, >> >> Niels Basjes >> >
