Project History deleting at 1gb

whenever I work on a project where the file size reaches 1gb or more, the history seems to delete itself, for example, my last project had about 2700 undos at 1.5gb file size, then I saved the project and it reduced to 500 undos at 290mb file size. For context, I sculpt on my surface tablet with embed history on, with RAM limit set to 4gb and Storage Limit set to 5gb. I need the history embedded because I transfer the files to my desktop for timelapses and history replay since my tablet can’t handle playing that much at once, it crashes the app whenever I try. Does anyone know what’s causing this, and is it possible to fix, or do I just need to start saving projects under a new name every few minutes. Any help would be appreciated, thanks

Maybe change the history limit in the history settings.