mace-opensaml-users - RE: SAMLResponse leak?
Subject: OpenSAML user discussion
List archive
- From: "Scott Cantor" <>
- To: <>, <>
- Subject: RE: SAMLResponse leak?
- Date: Thu, 11 Aug 2005 13:38:55 -0400
- Organization: The Ohio State University
> I think I have a memory leak problem when creating a
> SAMLResponse from a signed assertion. I've made a short test
> program which just loops around the SAMLResponse(InputStream,
> int) constructor. It seems to leak about 60kB each time, and
> eventually hits OutOfMemory. What am I missing? Do I need to
> set some properties for XML parser, or something?
Believe it or not, the leak is in Sun's parser. A new version of Shibboleth
is coming out that embeds Xerces-J. You can fix the problem by downloading
2.7.1 and putting its jars into your JDK or Tomcat endorsed folder, as with
JDK 1.4.
Technically it's possible to override Sun's JAXP code without endorsement
now, but Xerces-J 2.7.x has a bug and does not properly do this, and you end
up with a mixed system of part Sun/part Apache code if you don't endorse
Xerces.
Can you try that and confirm that the leak disappears?
-- Scott
- SAMLResponse leak?, perfry, 08/11/2005
- Exception while verifying a Response, Ashu, 08/11/2005
- RE: Exception while verifying a Response, Scott Cantor, 08/11/2005
- Help with SAML !, Vikram Reddy Andem, 08/11/2005
- RE: Help with SAML !, Scott Cantor, 08/11/2005
- RE: SAMLResponse leak?, Scott Cantor, 08/11/2005
- <Possible follow-up(s)>
- Re: RE: SAMLResponse leak?, perfry, 08/12/2005
- RE: RE: SAMLResponse leak?, Scott Cantor, 08/12/2005
- Re: RE: RE: SAMLResponse leak?, perfry, 08/26/2005
- RE: RE: RE: SAMLResponse leak?, Scott Cantor, 08/26/2005
- Re: RE: RE: RE: SAMLResponse leak?, perfry, 08/29/2005
- Re: SAMLResponse leak?, Chad La Joie, 08/29/2005
- RE: RE: RE: RE: SAMLResponse leak?, Scott Cantor, 08/29/2005
- Exception while verifying a Response, Ashu, 08/11/2005
Archive powered by MHonArc 2.6.16.