Skip to content

Update Kotlin and KSP #475

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

Merged
merged 1 commit into from
Apr 27, 2025
Merged

Update Kotlin and KSP #475

merged 1 commit into from
Apr 27, 2025

Conversation

eygraber
Copy link
Collaborator

No description provided.

@eygraber
Copy link
Collaborator Author

Same OOM issues with CI. Maybe a Xmx bump and/or a larger runner is needed?

@droideveloper
Copy link

Same OOM issues with CI. Maybe a Xmx bump and/or a larger runner is needed?

would you like to add "-XX:MaxMetaspaceSize=1024m" or "-XX:MaxMetaspaceSize=1G" in "grade.properties" for "org.gradle.jvmargs", so CI implementations need that for their JVM, if that not help might want to bump heap to "6G" or "8G" in there without tear change, I did try this runner command in Mac osx, did not fail, did not have linux setup to give a shot, thanks @eygraber

@evant
Copy link
Owner

evant commented Apr 27, 2025

the linux ci runner has 8GB of memory so there should be some headroom if you want to bump memory usage

@eygraber
Copy link
Collaborator Author

I bumped it to 6G, let's see what happens.

@evant
Copy link
Owner

evant commented Apr 27, 2025

just merged in some changes that should greatly lower memory usage, rebasing might fix the issues here.

@eygraber
Copy link
Collaborator Author

Still broken. I'll dig a little deeper.

@evant
Copy link
Owner

evant commented Apr 27, 2025

ironically I think bumping it to 6Gb causes it to fail, I think the gradle daemon is taking away memory from the kotlin daemon https://app.circleci.com/pipelines/github/evant/kotlin-inject/1134/workflows/27bdcd96-e1c7-42ae-9431-46ab9490ca84/jobs/1887

@eygraber
Copy link
Collaborator Author

Ah I was actually thinking about that when I made the change 🙈

@evant evant enabled auto-merge (rebase) April 27, 2025 04:48
@evant evant merged commit 94c44a2 into evant:main Apr 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants