Poor HTML Export Performance when using a combination of unicode output and limit page size options.
(Doc ID 2703410.1)
Last updated on AUGUST 24, 2020
Applies to:
Oracle Outside In Technology - Version 8.5.3 and laterInformation in this document applies to any platform.
Symptoms
From the existing bug - Bug 27966565 - Poor performance when using a combination of the unicode output, limit_page size
Problem Statement
=================
Customer is setting unicode output & limit_page size options in the code
{
VTDWORD dwordOption = SO_UNICODE;
DASetOption(hDoc, SCCOPT_EX_OUTPUTCHARACTERSET, &dwordOption,
sizeof(DWORD));
}
...
{
VTDWORD dwordOption = 1000000;
DASetOption((VTHDOC)0, SCCOPT_EX_PAGESIZE, &dwordOption,
sizeof(dwordOption));
}
This is causing the performance issue
Reproducibility
===============
Reproduced Product Version
---------- ---------------
Latest BP
OIT 8.5.4
Yes
EXPECTED BEHAVIOR
=================
Conversion should work in less than 1 min for this document with UTF and page
size options
Testcase
========
1.Run the out-of-the-box hxsample.exe:
hxsample "Worksheet in C Users maurice AppData Local Microsoft Windows
INetCache Content.Outlook GUQM699J Test report - excel embedded file.xlsx"
output
This will finish reasonably fast after a few seconds
2 .Compile the attached hxsample.c file to create hxsample.exe
run the exe:
hxsample "Worksheet in C Users maurice AppData Local Microsoft Windows
INetCache Content.Outlook GUQM699J Test report - excel embedded file.xlsx"
output
This will finish after 2 minutes
Business Impact:
This is affecting a production environment.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |