[MLK] 104160 bytes of memory leaked on repeated reload

RESOLVED FIXED in mozilla1.0

Status

RESOLVED FIXED
17 years ago
14 years ago

People

(Reporter: nisheeth_mozilla, Assigned: nisheeth_mozilla)

Tracking

({helpwanted, memory-leak})

Trunk
mozilla1.0
x86
Windows 2000
helpwanted, memory-leak

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Assignee)

Description

17 years ago
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 104160 bytes of memory leakage:

[W] MLK: Memory leak of 104160 bytes from 2170 blocks allocated in
NS_NewHTMLSharedLeafElement(nsIHTMLContent * *,nsINodeInfo *)
Distribution of leaked blocks
104160 bytes from 2170 blocks of 48 bytes (first block: 0x043a6948) 
Allocation location
new(UINT)      [msvcrt.DLL]
NS_NewHTMLSharedLeafElement(nsIHTMLContent * *,nsINodeInfo *)
[nsHTMLSharedLeafElement.cpp:119]
MakeContentObject [nsHTMLContentSink.cpp:1154]
HTMLContentSink::CreateContentObject(nsIParserNode
const&,nsHTMLTag,nsIDOMHTMLFormElement *,nsIWebShell *,nsIHTMLContent * *)
[nsHTMLContentSink.obj:851]
SinkContext::AddLeaf(nsIParserNode const&) [nsHTMLContentSink.cpp:1839]
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]
CNavDTD::HandleToken(CToken *,nsIParser *) [CNavDTD.cpp:895]
(Assignee)

Updated

17 years ago
Keywords: helpwanted, mlk, mozilla1.0
Target Milestone: --- → mozilla1.0
(Assignee)

Updated

17 years ago
Blocks: 81446

Updated

17 years ago
Keywords: nsbeta1
(Assignee)

Comment 1

17 years ago
Fixed by checkin of attachment 73568 [details] [diff] [review] to bug 81446.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.