-
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
force garbage collection after large objects are removed #140
Conversation
NIT: Maybe we should... 🦀 🦀 🦀 🦀 |
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.
Approving as a "fine if we HAVE to" approval. And on the condition that we open a new issue to further explore a better way to get memory use within a reasonable limit.
There has to be a better way! But agree that this is an effective band-aid for now.
@jdhoffa do you know how to do that? |
Today, no certainly not. But I'd be very happy to give it a shot as a {pedagogical, experimental, pet project} type prototype if we think it's valuable. |
just a note: using in fact, in some (many?) languages, you have to decide if/when to do it |
I understand. I think the reliance on a garbage collector (either intentionally invoked or passively relied on) is gonna result in a memory hit. But I'm not even sure that's the biggest problem here frankly. I'd love to explore #94 more and see if we can get better performance from that, I imagine we can |
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.
DNLGTM (Does not look good to me)
Approved despite my visceral reaction.
I'm happy to not merge this also. It's just an easy option for significantly improving the memory footprint, which has been a big problem for @jdhoffa and @AlexAxthelm running it. |
Oh what? I very much do approve it! I just wanted to make sure we documented the follow-up steps (which was done in #141). There's nothing functionally wrong with this, only NIT/ NB/style/"visceral" hesitancy But for the record, I would much rather this be merged then the status quo of not being able to run data prep |
Same. My approval stands. |
ok, sorry... I misunderstood the hesitancy... re-opened and will merge |
😆 Just because I don't like it doesn't mean it's wrong. |
By forcing garbage collection after large objects are removed, significantly better memory management is achieved.
I don't relish doing this, but it works...
Before
After