-
Notifications
You must be signed in to change notification settings - Fork 0
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
OOM Java heap space on start up #11
Comments
Thank you for your report! It's good to know that in some cases current heap size is not enough. You can change heap size in /usr/bin/gcal-notifier-kotlin-gtk |
It seems to fail in the implementation of the gson bit when converting to json. I wonder whether there is a mechanism to stream the json out bit by bit. Perhaps the UserDataManager.safeEventsList can be made to write each element one by one. |
and just FYI, when I bumped the memory, I managed to write the events file: -rw-rw-r-- 1 hsrinara hsrinara 600K Mar 27 09:19 /home/hsrinara/.config/gcal-notifier-kotlin-gtk/events.json And just confirmed I now have the events popping up on my screen. Thanks for your fast response @nikitabobko |
This commit is addressed to #11. Potential OOM fix
Can I ask you to try 2.0.9-SNAPSHOT version (or you can build SNAPSHOT by yourself from |
|
Apologies for the terse response, I was swamped this morning. Responding from mobile so my analysis might be a little wrong. Couple of thoughts.
|
Another approach would be to do the sorting and filtering onto the Google calendar backend if it supports those functions so not as much is retrieved. |
This commit is addressed to #11. Potential OOM fix
Hi @nikitabobko, when launching the application I see this exception below. Is there a way to increase the heap space for your application?
The text was updated successfully, but these errors were encountered: