Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
11.0.5, 13
-
b24
-
x86_64
-
windows_7
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8258037 | 13.0.6 | Yuri Nesterenko | P4 | Resolved | Fixed | b03 |
JDK-8251869 | 11.0.10-oracle | Ravi Reddy | P4 | Resolved | Fixed | b01 |
JDK-8251011 | 11.0.9 | Joe Wang | P4 | Resolved | Fixed | b02 |
Description
ADDITIONAL SYSTEM INFORMATION :
All versions
A DESCRIPTION OF THE PROBLEM :
It would be nice if a fix like this patch: https://github.com/apache/xalan-j/pull/13/files can be made in upstream Java.
This allocates needlessly NamespaceMappings and it dependent HashMaps which then don't get used at all in our cases.
With the fix processing reduces memory usage from 140MB -> 20MB
I would be very happy if this is fixed in v11 too, although I'm aware that this code existed since forever :(
ps. I'm author of that PR and grant you permission to use that code as you wish (if that is even required for such a trivial change)
All versions
A DESCRIPTION OF THE PROBLEM :
It would be nice if a fix like this patch: https://github.com/apache/xalan-j/pull/13/files can be made in upstream Java.
This allocates needlessly NamespaceMappings and it dependent HashMaps which then don't get used at all in our cases.
With the fix processing reduces memory usage from 140MB -> 20MB
I would be very happy if this is fixed in v11 too, although I'm aware that this code existed since forever :(
ps. I'm author of that PR and grant you permission to use that code as you wish (if that is even required for such a trivial change)
Attachments
Issue Links
- backported by
-
JDK-8251011 XML transformer uses excessive amount of memory
- Resolved
-
JDK-8251869 XML transformer uses excessive amount of memory
- Resolved
-
JDK-8258037 XML transformer uses excessive amount of memory
- Resolved