Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix of 'no memory' error #44

Closed

Conversation

AnastasiaSliusar
Copy link
Collaborator

This PR has the soluton of #43

@AnastasiaSliusar AnastasiaSliusar marked this pull request as ready for review January 28, 2025 12:54
archive = archive_read_new();
archive_read_support_filter_all(archive);
archive_read_support_format_raw(archive);

if (archive_read_open_filename(archive, temp_file_name, inputSize) != ARCHIVE_OK) {
if (archive_read_open_filename(archive, temp_file_name, 1024 * 1024) != ARCHIVE_OK) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to commit this hardcoded value 1024 * 1024 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@martinRenou well, it does not help in any case. This issue will be fixed in scope of #45

@AnastasiaSliusar
Copy link
Collaborator Author

AnastasiaSliusar commented Jan 30, 2025

"No memory" error will be fixed in the scope of #45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants