-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(imports) possible fix for imports running out of memory (#29169)
This does a few things: - Removes reading the file in as a byte[] and instead passes around a `File` object - Changes how the import is run inline (helpful for glowroot traces) or to use the DotSubmitter thread pool. Config var is `IMPORT_CONTENTLETS_ASYNC` - Commit Granularity changed to 100, meaning every 100 contentlets will be committed and a new transaction will be started. - Copied CSV file to tmp dir. ref: #29162 --------- Co-authored-by: erickgonzalez <[email protected]>
- Loading branch information
1 parent
08c7899
commit 0e6f1cf
Showing
6 changed files
with
104 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -532,4 +532,4 @@ public void removeSystemActionWorkflowActionMapping(final SystemActionWorkflowAc | |
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.