Closed crutchcorn closed 3 years ago
Discarding said item causes a crash on it's own
This is due to an OOM problem
It occurs when trying to readFile
the packfile
from Unicorn Utterances - which is above 30MB (much higher). This is a relatively medium-sized repo, and therefore we should port code to use JGit instead to switch files/etc
Confirmed that this is an OOM issue as I cloned the much smaller unicorn-utterances/batteries-not-included
and managed to both change branches and discard items without running into any bugs
I've managed to fix the OOM issue while discarding file changes thanks to:
089fa2e68d160de7400fa46f92749ed050f04969
I'm currently working on fixing the change branch code
Fixed by: 51d2eeed0aa30f74f88b60c4531be16eb73e94e1
Reproduction steps:
checkout after create
selected, so maybe it's just theswitch branch
that crashes)Device: Samsung Tab S7