Crashing with std::bad_alloc #32

Closed
opened 2026-01-29 20:29:26 +00:00 by claunia · 2 comments
Owner

Originally created by @maximecaron on GitHub (Sep 24, 2015).

I was trying to compress a 30GB sqlite file with data from wikipedia on a machine with 1GB of memory.
And the command crash with std::bad_alloc on quality 11, 10 and 9.

Command was running on Debian 8.1 x64 compiled with G++ 4.9.2

Originally created by @maximecaron on GitHub (Sep 24, 2015). I was trying to compress a 30GB sqlite file with data from wikipedia on a machine with 1GB of memory. And the command crash with std::bad_alloc on quality 11, 10 and 9. Command was running on Debian 8.1 x64 compiled with G++ 4.9.2
Author
Owner

@eustas commented on GitHub (Oct 6, 2015):

Could you share a link to the db file, please.

I've experimented with file that contains 32 copies on enwik9 and memory usage peak is 837M...

@eustas commented on GitHub (Oct 6, 2015): Could you share a link to the db file, please. I've experimented with file that contains 32 copies on enwik9 and memory usage peak is 837M...
Author
Owner

@eustas commented on GitHub (Jun 16, 2016):

Should be fixed on v0.5.
Please check. If problem is still there, feel free to reopen the issue.

@eustas commented on GitHub (Jun 16, 2016): Should be fixed on v0.5. Please check. If problem is still there, feel free to reopen the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#32