Closed Bug 129423 Opened 22 years ago Closed 22 years ago

[MLK] 69216 bytes of memory leaked on repeated reload

Categories

(SeaMonkey :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.0

People

(Reporter: nisheeth_mozilla, Assigned: nisheeth_mozilla)

References

()

Details

(Keywords: helpwanted, memory-leak)

In a MOZ_PROFILE=1 windows 2000 build run by purify, I
1) Loaded above URL.
2) Reloaded 10 times.
3) Exit

The following allocation point caused 69216 bytes of memory leakage:

[W] MLK: Memory leak of 69216 bytes from 4326 blocks allocated in
HTMLAttributesImpl::SetAttributeFor(nsIAtom *,nsAString
const&,int,nsIHTMLContent *,nsIHTMLStyleSheet *)
Distribution of leaked blocks
Allocation location
new(UINT)      [msvcrt.DLL]
HTMLAttributesImpl::SetAttributeFor(nsIAtom *,nsAString
const&,int,nsIHTMLContent *,nsIHTMLStyleSheet *) [nsHTMLAttributes.cpp:1202]
HTMLStyleSheetImpl::SetAttributeFor(nsIAtom *,nsAString
const&,int,nsIHTMLContent *,nsIHTMLAttributes *&) [nsHTMLStyleSheet.cpp:1432]
nsGenericHTMLElement::SetAttr(int,nsIAtom *,nsAString const&,int)
[nsGenericHTMLElement.cpp:1656]
HTMLContentSink::AddAttributes(nsIParserNode const&,nsIHTMLContent *,int)
[nsHTMLContentSink.obj:778]
SinkContext::AddLeaf(nsIParserNode const&) [nsHTMLContentSink.cpp:1847]
HTMLContentSink::AddLeaf(nsIParserNode const&) [nsHTMLContentSink.cpp:3456]
CNavDTD::AddLeaf(nsIParserNode const*) [CNavDTD.cpp:3802]
CNavDTD::HandleDefaultStartToken(CToken *,nsHTMLTag,nsCParserNode *)
[CNavDTD.cpp:1321]
CNavDTD::HandleStartToken(CToken *) [CNavDTD.cpp:1731]
Blocks: 81446
Target Milestone: --- → mozilla1.0
Keywords: mlk
Keywords: nsbeta1
Fixed by checkin of attachment 73568 [details] [diff] [review] to bug 81446.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.