-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract split the server into 2 modules #21736
Conversation
@@ -3,7 +3,7 @@ | |||
|
|||
org.gradle.parallel=true | |||
|
|||
org.gradle.jvmargs=-Xmx4g -Xss4m | |||
org.gradle.jvmargs=-Xmx8g -Xss4m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was needed to make gradle to be able to import the new module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very strange. It seems odd that just moving the code to a library would cause Gradle to need more memory. We should probably look into this a bit, because needing 8 GB to build the server seems like that may be an issue for OSS users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, I ran into java heap memory issue. I cleaned the cache which didn't work then re-clone the project which ran into the same issue, it was the only way I found to include the new module. I haven't tried with a lower memory setting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What
Isolate the micronaut application of the server. No other module will need to to depends on the server.
This will break cloud build and OSS need to be bump once this is merged
How
Move the common class of the server to a common module.
Everything is moved except:
Related issue: #21732