You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading a tree sequence, SLiM makes an extra copy of it due to a restriction that - I think - has been removed. According to this note, tsk_table_collection_load( ) now allocates columns by default, which is I think what we needed here?
This could be the cause of some early spikes in memory usage we've seen.
Yes, this could probably be fixed. The memory spike shouldn't be much larger than the size of the .trees file being loaded, though, right? So unless you're working with really huge .trees files, this is unlikely to be a big deal. But it'd be nice to fix it just for polish, in any case.
Oh, did that improvement not already get rolled into SLiM? I thought this got fixed quite a while ago now. Well, do a PR to bring SLiM up to the current tskit whenever you want.
Hi @petrelharp. What's the status on this? I'm starting to think about releasing SLiM 3.4. Should a merge from tskit into SLiM happen before that happens?
OK. If SLiM 3.4 ships without this, that seems fine to me; I'm not aware that anyone actually cares about it. Let me know if you'd like me to wait, though.
I'm pretty sure this has been fixed; not sure why it didn't get auto-closed when the tskit PR was merged. @petrelharp, I'm closing this issue; please reopen if it has not in fact been fixed.
Activity
bhaller commentedon Jan 31, 2020
Yes, this could probably be fixed. The memory spike shouldn't be much larger than the size of the .trees file being loaded, though, right? So unless you're working with really huge .trees files, this is unlikely to be a big deal. But it'd be nice to fix it just for polish, in any case.
petrelharp commentedon Jan 31, 2020
The first step, though, is to update the tskit code.
bhaller commentedon Jan 31, 2020
Oh, did that improvement not already get rolled into SLiM? I thought this got fixed quite a while ago now. Well, do a PR to bring SLiM up to the current tskit whenever you want.
petrelharp commentedon Jan 31, 2020
It did get updated! But, there's been movement since then...
bhaller commentedon Apr 11, 2020
Hi @petrelharp. What's the status on this? I'm starting to think about releasing SLiM 3.4. Should a merge from tskit into SLiM happen before that happens?
petrelharp commentedon Apr 11, 2020
I haven't done anything about it yet, and won't be able to get to it immediately. So, I'd like to do it, but not sure I can promise it.
bhaller commentedon Apr 13, 2020
OK. If SLiM 3.4 ships without this, that seems fine to me; I'm not aware that anyone actually cares about it. Let me know if you'd like me to wait, though.
bhaller commentedon Aug 30, 2020
I'm pretty sure this has been fixed; not sure why it didn't get auto-closed when the tskit PR was merged. @petrelharp, I'm closing this issue; please reopen if it has not in fact been fixed.