It doesn't sound like a memory issue to me - if it was, I don't think you'd even get past the parsing part and you would never see it creating the profiles. Since it stops at random places as well, and not at the same place every time, that tells me the GEDCOM file is correct and it's not hitting something it can't parse.
One thing to do is look in your jamroom's data/logs directory for an error_log - if you see that the last entries in that file can give us an idea of what might be going on.
Let me know if that helps.
updated by @brian: 27 May 2019 07:59:12AM