Skip to content

Commit

Permalink
XLSX exporter: use constant_memory option
Browse files Browse the repository at this point in the history
  • Loading branch information
evanmiller committed Dec 16, 2022
1 parent ea1df02 commit 4978d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/fmp2excel.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int main(int argc, char *argv[]) {
}

fmp_error_t error = FMP_OK;
lxw_workbook *wb = workbook_new(argv[2]);
lxw_workbook *wb = workbook_new_opt(argv[2], &(lxw_workbook_options){ .constant_memory = 1 });
if (!wb) {
fprintf(stderr, "Error opening workbook at %s\n", argv[2]);
return 1;
Expand Down

0 comments on commit 4978d18

Please sign in to comment.