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 <ni...@basjes.nl> 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