your solution has a single flaw. If you has a lot of documents, i.e. > 1000 pieces, or few larger ones, the document consumes more and more memory. If you have max 128MB memory, it is hardly possible to append more than 20 documents with 4 pages each to one single document.
Is there any solution to append two documents without loading them completely into the memory for Java?
Thanks a lot! Kind regards,
Jens Böckel
---------------------------------
ABACUS Research AG
B2B Software
Switzerland
Hi
Thanks for your inquiry. No there is no way to load document into memory partially. The document needs to be held wholly in memory. Therefore, memory and CPU usage are dependent on document size and document complexity.
Anyway, it is better to use few small documents instead one huge document.
Best regards.
Hi
Thanks for your inquiry. No, there is no difference what format you will use. Memory usage will be the same. But, you are free to check this on your side.
Best regards.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.